Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
castor3d::ShadowConfig Struct Reference

#include <Shadow.hpp>

Collaboration diagram for castor3d::ShadowConfig:
Collaboration graph
[legend]

Public Member Functions

C3D_API void accept (ConfigurationVisitorBase &visitor, LightType lightType)
 

Static Public Member Functions

static C3D_API void addParsers (castor::AttributeParsers &result)
 

Public Attributes

bool enabled {}
 
ShadowType filterType { ShadowType::eNone }
 
GlobalIlluminationType globalIllumination { GlobalIlluminationType::eNone }
 
uint32_t volumetricSteps { 0u }
 
float volumetricScattering { 0.2f }
 
castor::Point2f rawOffsets
 
castor::Point2f pcfOffsets
 
float vsmMinVariance {}
 
float vsmLightBleedingReduction {}
 
castor::RangedValue< uint32_t > pcfFilterSize { 4u, castor::makeRange( 0u, MaxPcfFilterSize ) }
 
castor::RangedValue< uint32_t > pcfSampleCount { 8u, castor::makeRange( 0u, MaxPcfSampleCount ) }
 
LpvConfig lpvConfig
 

Member Function Documentation

◆ accept()

C3D_API void castor3d::ShadowConfig::accept ( ConfigurationVisitorBase & visitor,
LightType lightType )

◆ addParsers()

static C3D_API void castor3d::ShadowConfig::addParsers ( castor::AttributeParsers & result)
static

Member Data Documentation

◆ enabled

bool castor3d::ShadowConfig::enabled {}

◆ filterType

ShadowType castor3d::ShadowConfig::filterType { ShadowType::eNone }

◆ globalIllumination

GlobalIlluminationType castor3d::ShadowConfig::globalIllumination { GlobalIlluminationType::eNone }

◆ lpvConfig

LpvConfig castor3d::ShadowConfig::lpvConfig

◆ pcfFilterSize

castor::RangedValue< uint32_t > castor3d::ShadowConfig::pcfFilterSize { 4u, castor::makeRange( 0u, MaxPcfFilterSize ) }

◆ pcfOffsets

castor::Point2f castor3d::ShadowConfig::pcfOffsets

◆ pcfSampleCount

castor::RangedValue< uint32_t > castor3d::ShadowConfig::pcfSampleCount { 8u, castor::makeRange( 0u, MaxPcfSampleCount ) }

◆ rawOffsets

castor::Point2f castor3d::ShadowConfig::rawOffsets

◆ volumetricScattering

float castor3d::ShadowConfig::volumetricScattering { 0.2f }

◆ volumetricSteps

uint32_t castor3d::ShadowConfig::volumetricSteps { 0u }

◆ vsmLightBleedingReduction

float castor3d::ShadowConfig::vsmLightBleedingReduction {}

◆ vsmMinVariance

float castor3d::ShadowConfig::vsmMinVariance {}

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