Castor3D 0.16.0
Multiplatform 3D engine
Public Attributes | List of all members
castor3d::VoxelizerUboConfiguration Struct Reference

#include <VoxelizerUbo.hpp>

Public Attributes

float worldToGrid
 
float gridToWorld
 
float clipToGrid
 
float gridToClip
 
float radianceMaxDistance
 
float radianceMips
 
uint32_t radianceNumCones
 
float radianceNumConesInv
 
castor::Point3f pad
 
float rayStepSize
 
uint32_t enabled
 
uint32_t enableConservativeRasterization
 
uint32_t enableOcclusion
 
uint32_t enableSecondaryBounce
 

Member Data Documentation

◆ clipToGrid

float castor3d::VoxelizerUboConfiguration::clipToGrid

◆ enableConservativeRasterization

uint32_t castor3d::VoxelizerUboConfiguration::enableConservativeRasterization

◆ enabled

uint32_t castor3d::VoxelizerUboConfiguration::enabled
  • uint enabled;
  • uint enableConservativeRasterization;
  • uint enableOcclusion;
  • uint enableSecondaryBounce;

◆ enableOcclusion

uint32_t castor3d::VoxelizerUboConfiguration::enableOcclusion

◆ enableSecondaryBounce

uint32_t castor3d::VoxelizerUboConfiguration::enableSecondaryBounce

◆ gridToClip

float castor3d::VoxelizerUboConfiguration::gridToClip

◆ gridToWorld

float castor3d::VoxelizerUboConfiguration::gridToWorld

◆ pad

castor::Point3f castor3d::VoxelizerUboConfiguration::pad
  • vec3 gridCenter: Center of the voxel grid, in world space units
  • float rayStepSize;

◆ radianceMaxDistance

float castor3d::VoxelizerUboConfiguration::radianceMaxDistance
  • float radianceMaxDistance;
  • float radianceMips;
  • uint radianceNumCones;
  • float radianceNumConesInv;

◆ radianceMips

float castor3d::VoxelizerUboConfiguration::radianceMips

◆ radianceNumCones

uint32_t castor3d::VoxelizerUboConfiguration::radianceNumCones

◆ radianceNumConesInv

float castor3d::VoxelizerUboConfiguration::radianceNumConesInv

◆ rayStepSize

float castor3d::VoxelizerUboConfiguration::rayStepSize

◆ worldToGrid

float castor3d::VoxelizerUboConfiguration::worldToGrid
  • float worldToGrid: Factor from world position to grid position
  • float gridToWorld: Factor from grid position to world position
  • float gridToClip: Factor from grid position to clip position
  • float clipToGrid: Factor from clip position to grid position

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