|
| TextSprite () |
| Constructs a TextSprite object by default.
|
|
| TextSprite (const AbstractTextDrawer &drawer) |
| Constructs a TextSprite object with a drawer. More...
|
|
| TextSprite (const TextSprite &sprite) |
| Constructs a TextSprite object by assignation. More...
|
|
void | AddToRenderQueue (AbstractRenderQueue *renderQueue, const InstanceData &instanceData) const override |
| Adds the text to the rendering queue. More...
|
|
void | Clear () |
| Clears the data.
|
|
const Color & | GetColor () const |
| Gets the color of the text sprite. More...
|
|
float | GetScale () const |
| Gets the current scale of the text sprite. More...
|
|
void | SetColor (const Color &color) |
| Sets the color of the text sprite. More...
|
|
void | SetDefaultMaterial () |
| Sets the default material of the text sprite (just default material)
|
|
void | SetMaterial (MaterialRef material) |
| Sets the material of the text sprite. More...
|
|
void | SetMaterial (std::size_t skinIndex, MaterialRef material) |
|
void | SetScale (float scale) |
| Sets the current scale of the text sprite. More...
|
|
void | Update (const AbstractTextDrawer &drawer) |
| Updates the text. More...
|
|
TextSprite & | operator= (const TextSprite &text) |
| Sets the current text sprite with the content of the other one. More...
|
|
| 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...
|
|
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 the rendering of a sprite containing text.