Castor3D 0.12.0
Multiplatform 3D engine
Public Types | 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 Types

using StringIdPair = std::pair< castor::String, PassTypeID >
 

Public Member Functions

C3D_API PassFactory (Engine &engine)
 Constructor. More...
 
C3D_API ~PassFactory ()
 Destructor. More...
 
C3D_API void registerType (castor::String const &passType, PassRegisterInfo info)
 
C3D_API void unregisterType (castor::String const &passType)
 
C3D_API PassSPtr create (castor::String const &passType, Material &parent) const
 
C3D_API PassTypeID getNameId (castor::String const &passType) const
 
C3D_API castor::String getIdName (PassTypeID passTypeId) const
 
C3D_API castor::String getLightingModelName (PassTypeID passTypeId) const
 
C3D_API bool hasIBL (PassTypeID passTypeId) const
 
std::vector< StringIdPair > const & listRegisteredTypes () const
 

Member Typedef Documentation

◆ StringIdPair

using castor3d::PassFactory::StringIdPair = std::pair< castor::String, PassTypeID >

Constructor & Destructor Documentation

◆ PassFactory()

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

Constructor.

◆ ~PassFactory()

C3D_API castor3d::PassFactory::~PassFactory ( )

Destructor.

Member Function Documentation

◆ create()

C3D_API PassSPtr castor3d::PassFactory::create ( castor::String const &  passType,
Material parent 
) const

◆ getIdName()

C3D_API castor::String castor3d::PassFactory::getIdName ( PassTypeID  passTypeId) const

◆ getLightingModelName()

C3D_API castor::String castor3d::PassFactory::getLightingModelName ( PassTypeID  passTypeId) const

◆ getNameId()

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

◆ hasIBL()

C3D_API bool castor3d::PassFactory::hasIBL ( PassTypeID  passTypeId) const

◆ listRegisteredTypes()

std::vector< StringIdPair > const & castor3d::PassFactory::listRegisteredTypes ( ) const
inline

◆ registerType()

C3D_API void castor3d::PassFactory::registerType ( castor::String const &  passType,
PassRegisterInfo  info 
)

◆ unregisterType()

C3D_API void castor3d::PassFactory::unregisterType ( castor::String const &  passType)

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