|
| InstancedRenderable () |
| Constructs a InstancedRenderable object by default.
|
|
| InstancedRenderable (const InstancedRenderable &renderable) |
| Constructs a InstancedRenderable object by assignation. More...
|
|
| InstancedRenderable (InstancedRenderable &&renderable)=delete |
|
virtual | ~InstancedRenderable () |
| Destructs the object and calls OnInstancedRenderableRelease. More...
|
|
virtual void | AddToRenderQueue (AbstractRenderQueue *renderQueue, const InstanceData &instanceData) const =0 |
|
virtual bool | Cull (const Frustumf &frustum, const InstanceData &instanceData) const |
| Culls the instanced if not in the frustum. More...
|
|
void | EnsureBoundingVolumeUpdated () const |
| Ensures that the bounding volume is up to date.
|
|
virtual const BoundingVolumef & | GetBoundingVolume () const |
| Gets the bounding volume. More...
|
|
const MaterialRef & | GetMaterial (std::size_t matIndex=0) const |
| Gets one of the material used by the object. More...
|
|
const MaterialRef & | GetMaterial (std::size_t skinIndex, std::size_t matIndex) const |
| Gets one of the material used by the object, independently from the active skin. More...
|
|
std::size_t | GetMaterialCount () const |
| Gets the number of material per skin. More...
|
|
std::size_t | GetSkin () const |
| Gets the current active skin index. More...
|
|
std::size_t | GetSkinCount () const |
| Gets the number of skins this object has. More...
|
|
virtual void | InvalidateData (InstanceData *instanceData, UInt32 flags) const |
| Invalidates data for instanced. More...
|
|
void | SetSkin (std::size_t skinIndex) |
| Changes the active skin. More...
|
|
void | SetSkinCount (std::size_t skinCount) |
| Changes the maximum skin count of the object. More...
|
|
virtual void | UpdateBoundingVolume (InstanceData *instanceData) const |
| Updates the bounding volume. More...
|
|
virtual void | UpdateData (InstanceData *instanceData) const |
| Updates the instance data. More...
|
|
InstancedRenderable & | operator= (const InstancedRenderable &renderable) |
| Sets the current instanced renderable with the content of the other one. More...
|
|
InstancedRenderable & | operator= (InstancedRenderable &&renderable)=delete |
|
| NazaraSignal (OnInstancedRenderableInvalidateBoundingVolume, const InstancedRenderable *) |
|
| NazaraSignal (OnInstancedRenderableInvalidateData, const InstancedRenderable *, UInt32) |
|
| NazaraSignal (OnInstancedRenderableInvalidateMaterial, const InstancedRenderable *, std::size_t, std::size_t, const MaterialRef &) |
|
| NazaraSignal (OnInstancedRenderableRelease, const InstancedRenderable *) |
|
| NazaraSignal (OnInstancedRenderableResetMaterials, const InstancedRenderable *, std::size_t) |
|
| NazaraSignal (OnInstancedRenderableSkinChange, const InstancedRenderable *, std::size_t) |
|
| RefCounted (bool persistent=true) |
| Constructs a RefCounted object with a persistance aspect. More...
|
|
| RefCounted (const RefCounted &)=delete |
|
| RefCounted (RefCounted &&)=default |
|
virtual | ~RefCounted () |
| Destructs the object. More...
|
|
void | AddReference () const |
| Adds a reference to the object.
|
|
unsigned int | GetReferenceCount () const |
| Gets the number of references to the object. More...
|
|
bool | IsPersistent () const |
| Checks whether the object is persistent. More...
|
|
bool | RemoveReference () const |
| Removes a reference to the object. More...
|
|
bool | SetPersistent (bool persistent=true, bool checkReferenceCount=false) |
| Sets the persistence of the object. More...
|
|
RefCounted & | operator= (const RefCounted &)=delete |
|
RefCounted & | operator= (RefCounted &&)=default |
|
|
void | InvalidateBoundingVolume () |
| Invalidates the bounding volume.
|
|
void | InvalidateInstanceData (UInt32 flags) |
| Invalidates the instance data based on flags. More...
|
|
virtual void | MakeBoundingVolume () const =0 |
|
void | ResetMaterials (std::size_t matCount, std::size_t skinCount=1) |
| Resets the materials, material count and skin count. More...
|
|
void | SetMaterial (std::size_t matIndex, MaterialRef material) |
| Changes the material used at the specified index by another one. More...
|
|
void | SetMaterial (std::size_t skinIndex, std::size_t matIndex, MaterialRef material) |
| Changes the material used at the specified index by another one, independently from the active skin. More...
|
|
Graphics class that represents an instancer renderable.