RAMSES Documentation  27.0.130
Information for RAMSES users and developers
Resource.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2014 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_RESOURCE_H
10 #define RAMSES_RESOURCE_H
11 
13 
14 namespace ramses
15 {
20  {
21  public:
27 
31  class ResourceImpl& impl;
32 
33  protected:
37  friend class RamsesClientImpl;
38 
44  explicit Resource(ResourceImpl& pimpl);
45 
49  virtual ~Resource();
50  };
51 }
52 
53 #endif
#define RAMSES_API
Definition: APIExport.h:35
The Resource is the base class of all resources, such as arrays and textures.
Definition: Resource.h:20
virtual ~Resource()
Destructor for Resource.
class ResourceImpl & impl
Definition: Resource.h:31
Resource(ResourceImpl &pimpl)
Constructor for Resource.
resourceId_t getResourceId() const
Get resource Id.
The SceneObject is a base class for all client API objects owned by a Scene.
Definition: SceneObject.h:20
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
Resource identifier used to refer to a resource.
Definition: RamsesFrameworkTypes.h:84