Castor3D 0.16.0
Multiplatform 3D engine
|
#include <LightFactory.hpp>
Public Member Functions | |
C3D_API | LightFactory () |
Registers default light types. | |
Public Member Functions inherited from castor::Factory< LightCategory, LightType, LightCategoryUPtr, castor::Function< LightCategoryUPtr(Light &) > > | |
Entry & | registerType (Key const &key, Creator create) |
Registers an object type. | |
void | unregisterType (Key const &key) |
Unregisters an object type. | |
Id | getTypeId (Key const &key) const |
Key | getIdType (Id const &id) const |
bool | isTypeRegistered (Key const &key) const |
Checks if the given object type is registered. | |
Vector< ListEntry > | listRegisteredTypes () const |
ObjPtr | create (Key const &key, Parameters &&... params) const |
Creates an object from a key. | |
Additional Inherited Members | |
Public Types inherited from castor::Factory< LightCategory, LightType, LightCategoryUPtr, castor::Function< LightCategoryUPtr(Light &) > > | |
using | Obj |
using | Key |
using | Entry |
using | Id |
using | PtrType |
using | Creator |
using | ObjPtr |
using | ObjCont |
Protected Attributes inherited from castor::Factory< LightCategory, LightType, LightCategoryUPtr, castor::Function< LightCategoryUPtr(Light &) > > | |
Id | m_currentId |
ObjCont | m_registered |
C3D_API castor3d::LightFactory::LightFactory | ( | ) |
Registers default light types.