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

#include <ClustersConfig.hpp>

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

Public Member Functions

C3D_API ClustersConfig ()
 
C3D_API void accept (ConfigurationVisitorBase &visitor)
 

Static Public Member Functions

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

Public Attributes

bool enabled { true }
 
bool dirty { true }
 
castor::GroupChangeTracked< bool > useLightsBVH
 
castor::GroupChangeTracked< bool > sortLights
 
castor::GroupChangeTracked< bool > parseDepthBuffer
 
castor::GroupChangeTracked< bool > limitClustersToLightsAABB
 
castor::GroupChangeTracked< bool > useSpotBoundingCone
 
castor::GroupChangeTracked< bool > useSpotTightBoundingBox
 
castor::GroupChangeTracked< bool > enableReduceWarpOptimisation
 
castor::GroupChangeTracked< bool > enableBVHWarpOptimisation
 
castor::GroupChangeTracked< bool > enablePostAssignSort
 
castor::GroupChangeTracked< ClusterSplitSchemesplitScheme
 
castor::GroupChangeTracked< float > bias
 

Constructor & Destructor Documentation

◆ ClustersConfig()

C3D_API castor3d::ClustersConfig::ClustersConfig ( )

Member Function Documentation

◆ accept()

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

◆ addParsers()

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

Member Data Documentation

◆ bias

castor::GroupChangeTracked< float > castor3d::ClustersConfig::bias

The biased exponential split scheme bias.

◆ dirty

bool castor3d::ClustersConfig::dirty { true }

◆ enableBVHWarpOptimisation

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::enableBVHWarpOptimisation

Enable use of warp optimisation in the build BVH pass.

◆ enabled

bool castor3d::ClustersConfig::enabled { true }

The activation status.

◆ enablePostAssignSort

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::enablePostAssignSort

Enable sorting of clusters lights.

◆ enableReduceWarpOptimisation

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::enableReduceWarpOptimisation

Enable use of warp optimisation in the reduce lights AABB pass.

◆ limitClustersToLightsAABB

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::limitClustersToLightsAABB

Clusters grid Z will be limited to lights AABB depth boundaries.

◆ parseDepthBuffer

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::parseDepthBuffer

Tells if the depth buffer is used to reduce affected clusters.

◆ sortLights

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::sortLights

Tells if the lights are sorted.

◆ splitScheme

castor::GroupChangeTracked< ClusterSplitScheme > castor3d::ClustersConfig::splitScheme

The clusters Z split scheme.

◆ useLightsBVH

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::useLightsBVH

Tells if lights are put in the BVH.

◆ useSpotBoundingCone

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::useSpotBoundingCone

Use spot light bounding cone when assigning lights to clusters.

◆ useSpotTightBoundingBox

castor::GroupChangeTracked< bool > castor3d::ClustersConfig::useSpotTightBoundingBox

Use spot light tight bounding box when computing lights AABB.


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