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

#include <PassFactory.hpp>

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

Public Member Functions

C3D_API PassFactory (Engine &engine)
 Constructor.
 
C3D_API void registerType (LightingModelID lightingModelId, PassRegisterInfo const &info)
 
C3D_API PassUPtr create (Material &parent, LightingModelID lightingModelId) const
 
C3D_API PassUPtr create (Material &parent, Pass const &rhs) const
 
C3D_API LightingModelID getNameId (castor::String const &passType) const
 
C3D_API castor::String getIdName (LightingModelID lightingModelId) const
 
C3D_API bool hasIBLSupport (LightingModelID lightingModelId) const
 
ObjCont const & listRegisteredTypes () const noexcept
 
void unregisterType (Key const &key)
 Unregisters an object type.
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Constructor & Destructor Documentation

◆ PassFactory()

C3D_API castor3d::PassFactory::PassFactory ( Engine & engine)
explicit

Constructor.

Member Function Documentation

◆ create() [1/2]

C3D_API PassUPtr castor3d::PassFactory::create ( Material & parent,
LightingModelID lightingModelId ) const

◆ create() [2/2]

C3D_API PassUPtr castor3d::PassFactory::create ( Material & parent,
Pass const & rhs ) const

◆ getIdName()

C3D_API castor::String castor3d::PassFactory::getIdName ( LightingModelID lightingModelId) const

◆ getNameId()

C3D_API LightingModelID castor3d::PassFactory::getNameId ( castor::String const & passType) const

◆ hasIBLSupport()

C3D_API bool castor3d::PassFactory::hasIBLSupport ( LightingModelID lightingModelId) const

◆ listRegisteredTypes()

ObjCont const & castor3d::PassFactory::listRegisteredTypes ( ) const
inlinenoexcept

◆ registerType()

C3D_API void castor3d::PassFactory::registerType ( LightingModelID lightingModelId,
PassRegisterInfo const & info )

◆ unregisterType()

void castor::Factory< ObjT, KeyT, PtrTypeT, CreatorT, IdT, EntryT >::unregisterType ( Key const & key)
inline

Unregisters an object type.

Parameters
[in]keyThe object type

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