Castor3D  ..
Fonctions membres publiques | Fonctions membres protégées | Attributs protégés | Liste de tous les membres
Référence de la classe castor3d::shader::LightingModelabstract
+ Graphe d'héritage de castor3d::shader::LightingModel:

Fonctions membres publiques

C3D_API LightingModel (ShadowType shadows, glsl::GlslWriter &writer)
 
C3D_API void declareModel (uint32_t &index)
 
C3D_API void declareDirectionalModel (uint32_t &index)
 
C3D_API void declarePointModel (uint32_t &index)
 
C3D_API void declareSpotModel (uint32_t &index)
 
C3D_API DirectionalLight getDirectionalLight (glsl::Int const &index) const
 
C3D_API PointLight getPointLight (glsl::Int const &index) const
 
C3D_API SpotLight getSpotLight (glsl::Int const &index) const
 

Fonctions membres protégées

C3D_API Light getBaseLight (glsl::Type const &value) const
 
C3D_API void doDeclareLight ()
 
C3D_API void doDeclareDirectionalLight ()
 
C3D_API void doDeclarePointLight ()
 
C3D_API void doDeclareSpotLight ()
 
C3D_API void doDeclareGetBaseLight ()
 
C3D_API void doDeclareGetDirectionalLight ()
 
C3D_API void doDeclareGetPointLight ()
 
C3D_API void doDeclareGetSpotLight ()
 
virtual void doDeclareModel ()=0
 
virtual void doDeclareComputeDirectionalLight ()=0
 
virtual void doDeclareComputePointLight ()=0
 
virtual void doDeclareComputeSpotLight ()=0
 
virtual void doDeclareComputeOnePointLight ()=0
 
virtual void doDeclareComputeOneSpotLight ()=0
 

Attributs protégés

ShadowType m_shadows
 
glsl::GlslWriter & m_writer
 
std::shared_ptr< Shadowm_shadowModel
 
glsl::Function< shader::DirectionalLight, glsl::InInt > m_getDirectionalLight
 
glsl::Function< shader::PointLight, glsl::InInt > m_getPointLight
 
glsl::Function< shader::SpotLight, glsl::InInt > m_getSpotLight
 

Documentation des constructeurs et destructeur

◆ LightingModel()

C3D_API castor3d::shader::LightingModel::LightingModel ( ShadowType  shadows,
glsl::GlslWriter &  writer 
)

Documentation des fonctions membres

◆ declareDirectionalModel()

C3D_API void castor3d::shader::LightingModel::declareDirectionalModel ( uint32_t &  index)

◆ declareModel()

C3D_API void castor3d::shader::LightingModel::declareModel ( uint32_t &  index)

◆ declarePointModel()

C3D_API void castor3d::shader::LightingModel::declarePointModel ( uint32_t &  index)

◆ declareSpotModel()

C3D_API void castor3d::shader::LightingModel::declareSpotModel ( uint32_t &  index)

◆ doDeclareComputeDirectionalLight()

virtual void castor3d::shader::LightingModel::doDeclareComputeDirectionalLight ( )
protectedpure virtual

◆ doDeclareComputeOnePointLight()

virtual void castor3d::shader::LightingModel::doDeclareComputeOnePointLight ( )
protectedpure virtual

◆ doDeclareComputeOneSpotLight()

virtual void castor3d::shader::LightingModel::doDeclareComputeOneSpotLight ( )
protectedpure virtual

◆ doDeclareComputePointLight()

virtual void castor3d::shader::LightingModel::doDeclareComputePointLight ( )
protectedpure virtual

◆ doDeclareComputeSpotLight()

virtual void castor3d::shader::LightingModel::doDeclareComputeSpotLight ( )
protectedpure virtual

◆ doDeclareDirectionalLight()

C3D_API void castor3d::shader::LightingModel::doDeclareDirectionalLight ( )
protected

◆ doDeclareGetBaseLight()

C3D_API void castor3d::shader::LightingModel::doDeclareGetBaseLight ( )
protected

◆ doDeclareGetDirectionalLight()

C3D_API void castor3d::shader::LightingModel::doDeclareGetDirectionalLight ( )
protected

◆ doDeclareGetPointLight()

C3D_API void castor3d::shader::LightingModel::doDeclareGetPointLight ( )
protected

◆ doDeclareGetSpotLight()

C3D_API void castor3d::shader::LightingModel::doDeclareGetSpotLight ( )
protected

◆ doDeclareLight()

C3D_API void castor3d::shader::LightingModel::doDeclareLight ( )
protected

◆ doDeclareModel()

virtual void castor3d::shader::LightingModel::doDeclareModel ( )
protectedpure virtual

◆ doDeclarePointLight()

C3D_API void castor3d::shader::LightingModel::doDeclarePointLight ( )
protected

◆ doDeclareSpotLight()

C3D_API void castor3d::shader::LightingModel::doDeclareSpotLight ( )
protected

◆ getBaseLight()

C3D_API Light castor3d::shader::LightingModel::getBaseLight ( glsl::Type const &  value) const
protected

◆ getDirectionalLight()

C3D_API DirectionalLight castor3d::shader::LightingModel::getDirectionalLight ( glsl::Int const &  index) const

◆ getPointLight()

C3D_API PointLight castor3d::shader::LightingModel::getPointLight ( glsl::Int const &  index) const

◆ getSpotLight()

C3D_API SpotLight castor3d::shader::LightingModel::getSpotLight ( glsl::Int const &  index) const

Documentation des données membres

◆ m_getDirectionalLight

glsl::Function< shader::DirectionalLight , glsl::InInt > castor3d::shader::LightingModel::m_getDirectionalLight
protected

◆ m_getPointLight

glsl::Function< shader::PointLight , glsl::InInt > castor3d::shader::LightingModel::m_getPointLight
protected

◆ m_getSpotLight

glsl::Function< shader::SpotLight , glsl::InInt > castor3d::shader::LightingModel::m_getSpotLight
protected

◆ m_shadowModel

std::shared_ptr< Shadow > castor3d::shader::LightingModel::m_shadowModel
protected

◆ m_shadows

ShadowType castor3d::shader::LightingModel::m_shadows
protected

◆ m_writer

glsl::GlslWriter& castor3d::shader::LightingModel::m_writer
protected

La documentation de cette classe a été générée à partir du fichier suivant :