◆ LightingModel()
C3D_API castor3d::shader::LightingModel::LightingModel |
( |
sdw::ShaderWriter & |
writer, |
|
|
Utils & |
utils, |
|
|
ShadowOptions |
shadowOptions, |
|
|
bool |
isOpaqueProgram |
|
) |
| |
◆ declareDiffuseModel()
C3D_API void castor3d::shader::LightingModel::declareDiffuseModel |
( |
uint32_t & |
index | ) |
|
◆ declareDirectionalModel()
C3D_API void castor3d::shader::LightingModel::declareDirectionalModel |
( |
bool |
lightUbo, |
|
|
uint32_t & |
index |
|
) |
| |
◆ declareModel()
C3D_API void castor3d::shader::LightingModel::declareModel |
( |
uint32_t & |
index | ) |
|
◆ declarePointModel()
C3D_API void castor3d::shader::LightingModel::declarePointModel |
( |
bool |
lightUbo, |
|
|
uint32_t & |
index |
|
) |
| |
◆ declareSpotModel()
C3D_API void castor3d::shader::LightingModel::declareSpotModel |
( |
bool |
lightUbo, |
|
|
uint32_t & |
index |
|
) |
| |
◆ doDeclareComputeDirectionalLight()
virtual void castor3d::shader::LightingModel::doDeclareComputeDirectionalLight |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareComputeDirectionalLightDiffuse()
virtual void castor3d::shader::LightingModel::doDeclareComputeDirectionalLightDiffuse |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareComputePointLight()
virtual void castor3d::shader::LightingModel::doDeclareComputePointLight |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareComputePointLightDiffuse()
virtual void castor3d::shader::LightingModel::doDeclareComputePointLightDiffuse |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareComputeSpotLight()
virtual void castor3d::shader::LightingModel::doDeclareComputeSpotLight |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareComputeSpotLightDiffuse()
virtual void castor3d::shader::LightingModel::doDeclareComputeSpotLightDiffuse |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareDiffuseModel()
virtual void castor3d::shader::LightingModel::doDeclareDiffuseModel |
( |
| ) |
|
|
protectedpure virtual |
◆ doDeclareDirectionalLight()
C3D_API void castor3d::shader::LightingModel::doDeclareDirectionalLight |
( |
| ) |
|
|
protected |
◆ doDeclareDirectionalLightUbo()
C3D_API void castor3d::shader::LightingModel::doDeclareDirectionalLightUbo |
( |
| ) |
|
|
protected |
◆ doDeclareGetBaseLight()
C3D_API void castor3d::shader::LightingModel::doDeclareGetBaseLight |
( |
| ) |
|
|
protected |
◆ doDeclareGetCascadeFactors()
C3D_API void castor3d::shader::LightingModel::doDeclareGetCascadeFactors |
( |
| ) |
|
|
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 |
◆ doDeclarePointLightUbo()
C3D_API void castor3d::shader::LightingModel::doDeclarePointLightUbo |
( |
| ) |
|
|
protected |
◆ doDeclareSpotLight()
C3D_API void castor3d::shader::LightingModel::doDeclareSpotLight |
( |
| ) |
|
|
protected |
◆ doDeclareSpotLightUbo()
C3D_API void castor3d::shader::LightingModel::doDeclareSpotLightUbo |
( |
| ) |
|
|
protected |
◆ getBaseLight()
C3D_API Light castor3d::shader::LightingModel::getBaseLight |
( |
sdw::Int const & |
value | ) |
const |
|
protected |
◆ getDirectionalLight()
◆ getPointLight()
C3D_API PointLight castor3d::shader::LightingModel::getPointLight |
( |
sdw::Int const & |
index | ) |
const |
◆ getShadowModel()
Shadow const& castor3d::shader::LightingModel::getShadowModel |
( |
| ) |
const |
|
inline |
◆ getSpotLight()
C3D_API SpotLight castor3d::shader::LightingModel::getSpotLight |
( |
sdw::Int const & |
index | ) |
const |
◆ m_directionalLightType
std::unique_ptr< sdw::Struct > castor3d::shader::LightingModel::m_directionalLightType |
|
protected |
◆ m_getBaseLight
sdw::Function< shader::Light , sdw::InInt > castor3d::shader::LightingModel::m_getBaseLight |
|
protected |
◆ m_getCascadeFactors
sdw::Function< sdw::Vec3 , sdw::InVec3 , sdw::InVec4 , sdw::InUInt > castor3d::shader::LightingModel::m_getCascadeFactors |
|
protected |
◆ m_getDirectionalLight
◆ m_getPointLight
sdw::Function< shader::PointLight , sdw::InInt > castor3d::shader::LightingModel::m_getPointLight |
|
protected |
◆ m_getSpotLight
sdw::Function< shader::SpotLight , sdw::InInt > castor3d::shader::LightingModel::m_getSpotLight |
|
protected |
◆ m_isOpaqueProgram
bool castor3d::shader::LightingModel::m_isOpaqueProgram |
|
protected |
◆ m_lightType
std::unique_ptr< sdw::Struct > castor3d::shader::LightingModel::m_lightType |
|
protected |
◆ m_pointLightType
std::unique_ptr< sdw::Struct > castor3d::shader::LightingModel::m_pointLightType |
|
protected |
◆ m_shadowModel
std::shared_ptr< Shadow > castor3d::shader::LightingModel::m_shadowModel |
|
protected |
◆ m_spotLightType
std::unique_ptr< sdw::Struct > castor3d::shader::LightingModel::m_spotLightType |
|
protected |
◆ m_utils
Utils& castor3d::shader::LightingModel::m_utils |
|
protected |
◆ m_writer
sdw::ShaderWriter& castor3d::shader::LightingModel::m_writer |
|
protected |
◆ UboBindingPoint
C3D_API uint32_t const castor3d::shader::LightingModel::UboBindingPoint |
|
static |
La documentation de cette classe a été générée à partir du fichier suivant :