#include <LightingModelFactory.hpp>
◆ Creator
◆ Id
◆ Key
◆ Obj
◆ ObjCont
◆ ObjPtr
◆ PtrType
◆ create()
template<typename ... Parameters>
Creates an object from an ID.
- Parameters
-
[in] | lightingModelId | The lighting model ID. |
[in] | backgroundModelId | The background model ID. |
[in] | params | The creation parameters. |
- Returns
- The created object.
References CU_Exception, and castor::ERROR_UNKNOWN_OBJECT.
◆ getIdName()
C3D_API Key castor3d::LightingModelFactory::getIdName |
( |
Id const & | id | ) |
const |
- Parameters
-
[in] | id | The object type ID. |
- Returns
- The object type.
◆ getLightingModelsID() [1/2]
- Returns
- The unique lighting models IDs.
◆ getLightingModelsID() [2/2]
- Parameters
-
[in] | backgroundModelId | The background model ID. |
- Returns
- The lighting models for given background model.
◆ getNameId()
C3D_API Id castor3d::LightingModelFactory::getNameId |
( |
Key const & | key | ) |
const |
- Parameters
-
- Returns
- The object type ID.
◆ normaliseName()
Replaces old names with registered ones.
◆ registerType()
Registers an object type.
- Parameters
-
[in] | key | The object type. |
[in] | backgroundModelId | The background model ID. |
[in] | create | The object creation function. |
◆ unregisterType() [1/2]
Unregisters an object type.
- Parameters
-
[in] | key | The object type. |
[in] | backgroundModelId | The background model ID. |
◆ unregisterType() [2/2]
Unregisters an object type.
- Parameters
-
[in] | lightingModelId | The lighting model ID. |
[in] | backgroundModelId | The background model ID. |
The documentation for this class was generated from the following file: