class
render::TextureManager
Defines interface for creation of textures.
Render systems provide their own implementations.
Public
Constructors
TextureManager
Methods
~TextureManager
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.
CreateRenderTexture
Creates a new RenderTexture and automatically generates a single color surface and (optionally) a depth/stencil surface.
- colorDesc
- Description of the color surface to create.
- createDepth
- Determines will a depth/stencil buffer of the same size as the color buffer be created for the render texture.
- depthStencilFormat
- Format of the depth/stencil buffer if enabled.
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
CreateRenderTextureInternal
~Module<T>
staticInstanceInternal
Returns a singleton instance of this module.