class RenderModuleFactory
Factory class for RenderModule registration and creation.
File location: framework/cauldron/framework/inc/render/rendermodule.h
Typedefs
Type |
Description |
---|---|
typedef std::map<std::string, RenderModule ()()> |
ModuleConstructorMap
|
Methods
Return type |
Description |
---|---|
static RenderModule * |
CreateInstance (std::string const& renderModuleName)
Creates a render module instance of the correct type.
|
template <typename T> static void |
RegisterModule (std::string const& renderModuleName)
Registers a render module type for creation.
|
Detailed description
Factory class for RenderModule registration and creation.
Methods
CreateInstance
static RenderModule * CreateInstance (std::string const& renderModuleName)
Creates a render module instance of the correct type.
RegisterModule
Registers a render module type for creation.