Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Friends | List of all members
castor3d::shader::ShadowData Struct Reference

#include <GlslShadow.hpp>

Inheritance diagram for castor3d::shader::ShadowData:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::ShadowData:
Collaboration graph
[legend]

Public Member Functions

 ShadowData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
auto shadowType () const
 
auto pcfFilterSize () const
 
auto pcfSampleCount () const
 
auto rawShadowOffsets () const
 
auto pcfShadowOffsets () const
 
auto vsmMinVariance () const
 
auto vsmLightBleedingReduction () const
 
auto volumetricSteps () const
 
auto volumetricScattering () const
 
C3D_API void updateShadowType (ShadowType type) const
 

Friends

class ShadowsBuffer
 
struct DirectionalShadowData
 
struct PointShadowData
 
struct SpotShadowData
 

Constructor & Destructor Documentation

◆ ShadowData()

castor3d::shader::ShadowData::ShadowData ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )
inline

Member Function Documentation

◆ pcfFilterSize()

auto castor3d::shader::ShadowData::pcfFilterSize ( ) const
inline

◆ pcfSampleCount()

auto castor3d::shader::ShadowData::pcfSampleCount ( ) const
inline

◆ pcfShadowOffsets()

auto castor3d::shader::ShadowData::pcfShadowOffsets ( ) const
inline

◆ rawShadowOffsets()

auto castor3d::shader::ShadowData::rawShadowOffsets ( ) const
inline

◆ shadowType()

auto castor3d::shader::ShadowData::shadowType ( ) const
inline

◆ updateShadowType()

C3D_API void castor3d::shader::ShadowData::updateShadowType ( ShadowType type) const

◆ volumetricScattering()

auto castor3d::shader::ShadowData::volumetricScattering ( ) const
inline

◆ volumetricSteps()

auto castor3d::shader::ShadowData::volumetricSteps ( ) const
inline

◆ vsmLightBleedingReduction()

auto castor3d::shader::ShadowData::vsmLightBleedingReduction ( ) const
inline

◆ vsmMinVariance()

auto castor3d::shader::ShadowData::vsmMinVariance ( ) const
inline

Friends And Related Symbol Documentation

◆ DirectionalShadowData

friend struct DirectionalShadowData
friend

◆ PointShadowData

friend struct PointShadowData
friend

◆ ShadowsBuffer

friend class ShadowsBuffer
friend

◆ SpotShadowData

friend struct SpotShadowData
friend

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