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

#include <VctConfig.hpp>

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

Public Member Functions

C3D_API void accept (ConfigurationVisitorBase &visitor)
 

Static Public Member Functions

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

Public Attributes

bool enabled { false }
 
bool enableConservativeRasterization { false }
 
bool enableOcclusion { false }
 
bool enableSecondaryBounce { false }
 
bool enableTemporalSmoothing { false }
 
castor::RangedValue< uint32_t > gridSize { 2u, castor::makeRange( 2u, VctMaxTextureSize ) }
 
float maxDistance { 20.0f }
 
castor::RangedValue< uint32_t > numCones { 2u, castor::makeRange( 1u, VctMaxDiffuseCones ) }
 
float rayStepSize { 0.75f }
 
float voxelSizeFactor { 1.0f }
 

Member Function Documentation

◆ accept()

C3D_API void castor3d::VctConfig::accept ( ConfigurationVisitorBase & visitor)

◆ addParsers()

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

Member Data Documentation

◆ enableConservativeRasterization

bool castor3d::VctConfig::enableConservativeRasterization { false }

◆ enabled

bool castor3d::VctConfig::enabled { false }

◆ enableOcclusion

bool castor3d::VctConfig::enableOcclusion { false }

◆ enableSecondaryBounce

bool castor3d::VctConfig::enableSecondaryBounce { false }

◆ enableTemporalSmoothing

bool castor3d::VctConfig::enableTemporalSmoothing { false }

◆ gridSize

castor::RangedValue< uint32_t > castor3d::VctConfig::gridSize { 2u, castor::makeRange( 2u, VctMaxTextureSize ) }

◆ maxDistance

float castor3d::VctConfig::maxDistance { 20.0f }

The maximum distance for cones.

◆ numCones

castor::RangedValue< uint32_t > castor3d::VctConfig::numCones { 2u, castor::makeRange( 1u, VctMaxDiffuseCones ) }

The number of radiance cones used in voxel cone tracing.

◆ rayStepSize

float castor3d::VctConfig::rayStepSize { 0.75f }

The size of a ray step in voxel cone tracint.

◆ voxelSizeFactor

float castor3d::VctConfig::voxelSizeFactor { 1.0f }

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