|
| Billboard () |
| Constructs a Billboard object by default.
|
|
| Billboard (MaterialRef material) |
| Constructs a Billboard object with a reference to a material. More...
|
|
| Billboard (Texture *texture) |
| Constructs a Billboard object with a pointer to a texture. More...
|
|
| Billboard (const Billboard &billboard) |
| Constructs a Billboard object by assignation. More...
|
|
| Billboard (Billboard &&)=delete |
|
void | AddToRenderQueue (AbstractRenderQueue *renderQueue, const InstanceData &instanceData) const override |
| Adds this billboard to the render queue. More...
|
|
const Color & | GetColor () const |
| Gets the color of the billboard. More...
|
|
float | GetRotation () const |
| Gets the rotation of the billboard. More...
|
|
const Vector2f & | GetSize () const |
| Gets the size of the billboard. More...
|
|
void | SetColor (const Color &color) |
| Sets the color of the billboard. More...
|
|
void | SetDefaultMaterial () |
| Sets the default material of the billboard (just default material)
|
|
void | SetMaterial (MaterialRef material, bool resizeBillboard=true) |
| Sets the material of the billboard. More...
|
|
void | SetMaterial (std::size_t skinIndex, MaterialRef material, bool resizeBillboard=true) |
| Sets the material of the billboard. More...
|
|
void | SetRotation (float rotation) |
| Sets the rotation of the billboard. More...
|
|
void | SetSize (const Vector2f &size) |
| Sets the size of the billboard. More...
|
|
void | SetSize (float sizeX, float sizeY) |
| Sets the size of the billboard. More...
|
|
void | SetTexture (TextureRef texture, bool resizeBillboard=true) |
| Sets the texture of the billboard. More...
|
|
void | SetTexture (std::size_t skinIndex, TextureRef texture, bool resizeBillboard=true) |
| Sets the texture of the billboard for a specific index. More...
|
|
Billboard & | operator= (const Billboard &billboard) |
| Sets the current billboard with the content of the other one. More...
|
|
Billboard & | operator= (Billboard &&)=delete |
|
| 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 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 |
|
Graphics class that represents a billboard, a 2D surface which simulates a 3D object.