class
RendererMaterialManager
Initializes and handles all renderer materials.
Public
Constructors
RendererMaterialManager
Methods
~RendererMaterialManager
staticRegisterMaterial
Registers a new material that should be initialized on module start-up.
staticGetDefinesInternal
Returns a set of defines to be used when importing the shader.
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.
Private
Methods
staticInitOnRenderThread
Initializes the manager on the render thread.
staticDestroyOnRenderThread
Destroys all materials on the render thread.
staticGetMaterials
Returns a list in which are all materials managed by this module.
staticGetMutex
Returns a mutex used for inter-thread access to the materials list.