9 #ifndef RAMSES_GEOMETRYBINDING_H
10 #define RAMSES_GEOMETRYBINDING_H
108 class GeometryBindingImpl&
impl;
114 friend class SceneImpl;
#define RAMSES_API
Definition: APIExport.h:35
The ArrayBuffer is a data object used to provide vertex or index data to ramses::GeometryBinding::set...
Definition: ArrayBuffer.h:27
The ArrayResource stores a data array of a given type. The data is immutable. The resource can be use...
Definition: ArrayResource.h:26
An effect describes how an object will be rendered to the screen.
Definition: Effect.h:26
A geometry binding together with an appearance describe how an object will be rendered to the screen.
Definition: GeometryBinding.h:25
GeometryBinding(GeometryBindingImpl &pimpl)
Constructor of GeometryBinding.
status_t setInputBuffer(const AttributeInput &attributeInput, const ArrayResource &arrayResource, uint16_t offset, uint16_t stride)
Assign a data array resource to a given effect attribute input with offset and stride.
status_t setIndices(const ArrayResource &indicesResource)
Assign a data array with data type UInt16 or UInt32 to be used when accessing vertex data.
class GeometryBindingImpl & impl
Stores internal data for implementation specifics of GeometryBinding.
Definition: GeometryBinding.h:108
status_t setInputBuffer(const AttributeInput &attributeInput, const ArrayResource &arrayResource, uint32_t instancingDivisor=0)
Assign a data array resource to a given effect attribute input.
virtual ~GeometryBinding()
Destructor of the GeometryBinding.
GeometryBinding & operator=(const GeometryBinding &other)
Assignment operator of GeometryBinding.
status_t setIndices(const ArrayBuffer &arrayBuffer)
Assign indices (using index data buffer) to be used when accessing vertex data.
status_t setInputBuffer(const AttributeInput &attributeInput, const ArrayBuffer &arrayBuffer, uint32_t instancingDivisor=0)
Assign a vertex attribute buffer to a given effect attribute input.
status_t setInputBuffer(const AttributeInput &attributeInput, const ArrayBuffer &arrayBuffer, uint16_t offset, uint16_t stride)
Assign vertex attribute buffer with offset and stride.
const Effect & getEffect() const
Gets the effect used to create this geometry binding.
GeometryBinding(const GeometryBinding &other)
Copy constructor of GeometryBinding.
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
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26