Castor3D 0.13.0
Multiplatform 3D engine
Fonctions membres publiques | Attributs publics statiques | Liste de tous les membres
Référence de la classe castor3d::shader::Shadow

#include <GlslShadow.hpp>

Fonctions membres publiques

C3D_API Shadow (ShadowOptions shadowOptions, sdw::ShaderWriter &writer)
 
C3D_API void declare (uint32_t &index, uint32_t set)
 
C3D_API void declareDirectional (uint32_t &index, uint32_t set)
 
C3D_API void declarePoint (uint32_t &index, uint32_t set)
 
C3D_API void declareSpot (uint32_t &index, uint32_t set)
 
C3D_API sdw::Float computeDirectional (shader::Light const &light, Surface const &surface, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection, sdw::UInt const &cascadeIndex, sdw::UInt const &maxCascade)
 
C3D_API sdw::Float computeSpot (shader::Light const &light, Surface const &surface, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection)
 
C3D_API sdw::Float computePoint (shader::Light const &light, Surface const &surface, sdw::Vec3 const &lightDirection)
 
C3D_API void computeVolumetric (shader::Light const &light, Surface const &surface, sdw::Vec3 const &eyePosition, sdw::Mat4 const &lightMatrix, sdw::Vec3 const &lightDirection, sdw::UInt const &cascadeIndex, sdw::UInt const &maxCascade, OutputComponents &parentOutput)
 
C3D_API sdw::Vec4 getLightSpacePosition (sdw::Mat4 const &lightMatrix, sdw::Vec3 const &worldSpacePosition)
 
bool isEnabled () const
 

Attributs publics statiques

static C3D_API castor::String const MapDepthDirectional
 
static C3D_API castor::String const MapDepthSpot
 
static C3D_API castor::String const MapDepthPoint
 
static C3D_API castor::String const MapVarianceDirectional
 
static C3D_API castor::String const MapVarianceSpot
 
static C3D_API castor::String const MapVariancePoint
 
static C3D_API castor::String const MapNormalDirectional
 
static C3D_API castor::String const MapNormalSpot
 
static C3D_API castor::String const MapNormalPoint
 
static C3D_API castor::String const MapPositionDirectional
 
static C3D_API castor::String const MapPositionSpot
 
static C3D_API castor::String const MapPositionPoint
 
static C3D_API castor::String const MapFluxDirectional
 
static C3D_API castor::String const MapFluxSpot
 
static C3D_API castor::String const MapFluxPoint
 

Documentation des constructeurs et destructeur

◆ Shadow()

C3D_API castor3d::shader::Shadow::Shadow ( ShadowOptions  shadowOptions,
sdw::ShaderWriter &  writer 
)

Documentation des fonctions membres

◆ computeDirectional()

C3D_API sdw::Float castor3d::shader::Shadow::computeDirectional ( shader::Light const &  light,
Surface const &  surface,
sdw::Mat4 const &  lightMatrix,
sdw::Vec3 const &  lightDirection,
sdw::UInt const &  cascadeIndex,
sdw::UInt const &  maxCascade 
)

◆ computePoint()

C3D_API sdw::Float castor3d::shader::Shadow::computePoint ( shader::Light const &  light,
Surface const &  surface,
sdw::Vec3 const &  lightDirection 
)

◆ computeSpot()

C3D_API sdw::Float castor3d::shader::Shadow::computeSpot ( shader::Light const &  light,
Surface const &  surface,
sdw::Mat4 const &  lightMatrix,
sdw::Vec3 const &  lightDirection 
)

◆ computeVolumetric()

C3D_API void castor3d::shader::Shadow::computeVolumetric ( shader::Light const &  light,
Surface const &  surface,
sdw::Vec3 const &  eyePosition,
sdw::Mat4 const &  lightMatrix,
sdw::Vec3 const &  lightDirection,
sdw::UInt const &  cascadeIndex,
sdw::UInt const &  maxCascade,
OutputComponents parentOutput 
)

◆ declare()

C3D_API void castor3d::shader::Shadow::declare ( uint32_t &  index,
uint32_t  set 
)

◆ declareDirectional()

C3D_API void castor3d::shader::Shadow::declareDirectional ( uint32_t &  index,
uint32_t  set 
)

◆ declarePoint()

C3D_API void castor3d::shader::Shadow::declarePoint ( uint32_t &  index,
uint32_t  set 
)

◆ declareSpot()

C3D_API void castor3d::shader::Shadow::declareSpot ( uint32_t &  index,
uint32_t  set 
)

◆ getLightSpacePosition()

C3D_API sdw::Vec4 castor3d::shader::Shadow::getLightSpacePosition ( sdw::Mat4 const &  lightMatrix,
sdw::Vec3 const &  worldSpacePosition 
)

◆ isEnabled()

bool castor3d::shader::Shadow::isEnabled ( ) const
inline

Documentation des données membres

◆ MapDepthDirectional

C3D_API castor::String const castor3d::shader::Shadow::MapDepthDirectional
static

◆ MapDepthPoint

C3D_API castor::String const castor3d::shader::Shadow::MapDepthPoint
static

◆ MapDepthSpot

C3D_API castor::String const castor3d::shader::Shadow::MapDepthSpot
static

◆ MapFluxDirectional

C3D_API castor::String const castor3d::shader::Shadow::MapFluxDirectional
static

◆ MapFluxPoint

C3D_API castor::String const castor3d::shader::Shadow::MapFluxPoint
static

◆ MapFluxSpot

C3D_API castor::String const castor3d::shader::Shadow::MapFluxSpot
static

◆ MapNormalDirectional

C3D_API castor::String const castor3d::shader::Shadow::MapNormalDirectional
static

◆ MapNormalPoint

C3D_API castor::String const castor3d::shader::Shadow::MapNormalPoint
static

◆ MapNormalSpot

C3D_API castor::String const castor3d::shader::Shadow::MapNormalSpot
static

◆ MapPositionDirectional

C3D_API castor::String const castor3d::shader::Shadow::MapPositionDirectional
static

◆ MapPositionPoint

C3D_API castor::String const castor3d::shader::Shadow::MapPositionPoint
static

◆ MapPositionSpot

C3D_API castor::String const castor3d::shader::Shadow::MapPositionSpot
static

◆ MapVarianceDirectional

C3D_API castor::String const castor3d::shader::Shadow::MapVarianceDirectional
static

◆ MapVariancePoint

C3D_API castor::String const castor3d::shader::Shadow::MapVariancePoint
static

◆ MapVarianceSpot

C3D_API castor::String const castor3d::shader::Shadow::MapVarianceSpot
static

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