9 #ifndef RAMSES_MESHNODE_H
10 #define RAMSES_MESHNODE_H
17 class GeometryBinding;
155 friend class SceneImpl;
#define RAMSES_API
Definition: APIExport.h:35
The Appearance describes how an object should look like. This includes GLSL uniform values,...
Definition: Appearance.h:34
A geometry binding together with an appearance describe how an object will be rendered to the screen.
Definition: GeometryBinding.h:25
The MeshNode holds all information which is needed to render an object to the screen.
Definition: MeshNode.h:25
status_t setAppearance(Appearance &appearance)
Sets the Appearance of the MeshNode.
const Appearance * getAppearance() const
Returns the appearance.
uint32_t getIndexCount() const
Gets the number of indices that will be used for rendering.
uint32_t getStartVertex() const
Gets the first vertex of vertex arrays that will be used for rendering.
MeshNode(MeshNodeImpl &pimpl)
Constructor for MeshNode.
status_t setStartIndex(uint32_t startIndex)
Sets the first index of indices array that will be used for rendering.
Appearance * getAppearance()
Returns the appearance.
uint32_t getInstanceCount() const
Gets the number of instance that will be drawn for this mesh by the renderer.
MeshNode(const MeshNode &other)
Copy constructor of MeshNode.
MeshNode & operator=(const MeshNode &other)
Assignment operator of MeshNode.
status_t removeAppearanceAndGeometry()
Removes the Appearance and GeometryBinding previously set to the MeshNode.
status_t setInstanceCount(uint32_t instanceCount)
Sets the number of instances that will be drawn for this mesh by the renderer.
status_t setGeometryBinding(GeometryBinding &geometry)
Sets the GeometryBinding of the MeshNode.
GeometryBinding * getGeometryBinding()
Returns the geometry binding.
status_t setStartVertex(uint32_t startVertex)
Sets the offset of the first vertex to use from each vertex array that will be used for rendering the...
uint32_t getStartIndex() const
Gets the first index of indices array that will be used for rendering.
const GeometryBinding * getGeometryBinding() const
Returns the geometry binding.
status_t setIndexCount(uint32_t indexCount)
Sets the number of indices that will be used for rendering.
virtual ~MeshNode()
Destructor of the MeshNode.
class MeshNodeImpl & impl
Definition: MeshNode.h:149
The Node is the base class of all nodes and provides scene graph functionality which propagates to it...
Definition: Node.h:23
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26