class
SpriteManager
Contains materials used for sprite rendering.
Public
Constructors
SpriteManager
Methods
~SpriteManager
GetImageMaterial
Returns the material used for rendering image sprites.
- transparency
- Transparency mode the material should support.
- animation
- True if the material should be able to perform sprite sheet animation.
Returns: Requested sprite material.
GetTextMaterial
Returns the material used for rendering text sprites.
GetLineMaterial
Returns the material used for rendering antialiased lines.
GetMaterial
Returns a sprite material with the specified ID.
Returns null if one cannot be found.
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.