Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::LightFactory Class Reference

#include <LightFactory.hpp>

Inheritance diagram for castor3d::LightFactory:
Inheritance graph
[legend]
Collaboration diagram for castor3d::LightFactory:
Collaboration graph
[legend]

Public Member Functions

C3D_API LightFactory ()
 Registers default light types.
 
- Public Member Functions inherited from castor::Factory< LightCategory, LightType, LightCategoryUPtr, castor::Function< LightCategoryUPtr(Light &) > >
EntryregisterType (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
 

Constructor & Destructor Documentation

◆ LightFactory()

C3D_API castor3d::LightFactory::LightFactory ( )

Registers default light types.


The documentation for this class was generated from the following file: