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

#include <VoxelizerUbo.hpp>

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

Public Member Functions

C3D_API VoxelData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
 SDW_DeclStructInstance (C3D_API, VoxelData)
 
C3D_API sdw::Vec3 worldToTex (sdw::Vec3 const &wsPosition) const
 
C3D_API sdw::IVec3 worldToImg (sdw::Vec3 const &wsPosition) const
 
C3D_API sdw::Vec3 worldToClip (sdw::Vec3 const &wsPosition) const
 

Static Public Member Functions

static C3D_API ast::type::BaseStructPtr makeType (ast::type::TypesCache &cache)
 
static C3D_API castor::RawUniquePtr< sdw::Struct > declare (sdw::ShaderWriter &writer)
 

Public Attributes

sdw::Float worldToGrid
 
sdw::Float gridToWorld
 
sdw::Float clipToGrid
 
sdw::Float gridToClip
 
sdw::Float radianceMaxDistance
 
sdw::Float radianceMips
 
sdw::UInt radianceNumCones
 
sdw::Float radianceNumConesInv
 
sdw::Float rayStepSize
 sdw::Vec3 pad;
 
sdw::UInt enabled
 
sdw::UInt enableConservativeRasterization
 
sdw::UInt enableOcclusion
 
sdw::UInt enableSecondaryBounce
 

Constructor & Destructor Documentation

◆ VoxelData()

C3D_API castor3d::shader::VoxelData::VoxelData ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )

Member Function Documentation

◆ declare()

static C3D_API castor::RawUniquePtr< sdw::Struct > castor3d::shader::VoxelData::declare ( sdw::ShaderWriter & writer)
static

◆ makeType()

static C3D_API ast::type::BaseStructPtr castor3d::shader::VoxelData::makeType ( ast::type::TypesCache & cache)
static

◆ SDW_DeclStructInstance()

castor3d::shader::VoxelData::SDW_DeclStructInstance ( C3D_API ,
VoxelData  )

◆ worldToClip()

C3D_API sdw::Vec3 castor3d::shader::VoxelData::worldToClip ( sdw::Vec3 const & wsPosition) const

◆ worldToImg()

C3D_API sdw::IVec3 castor3d::shader::VoxelData::worldToImg ( sdw::Vec3 const & wsPosition) const

◆ worldToTex()

C3D_API sdw::Vec3 castor3d::shader::VoxelData::worldToTex ( sdw::Vec3 const & wsPosition) const

Member Data Documentation

◆ clipToGrid

sdw::Float castor3d::shader::VoxelData::clipToGrid

◆ enableConservativeRasterization

sdw::UInt castor3d::shader::VoxelData::enableConservativeRasterization

◆ enabled

sdw::UInt castor3d::shader::VoxelData::enabled

◆ enableOcclusion

sdw::UInt castor3d::shader::VoxelData::enableOcclusion

◆ enableSecondaryBounce

sdw::UInt castor3d::shader::VoxelData::enableSecondaryBounce

◆ gridToClip

sdw::Float castor3d::shader::VoxelData::gridToClip

◆ gridToWorld

sdw::Float castor3d::shader::VoxelData::gridToWorld

◆ radianceMaxDistance

sdw::Float castor3d::shader::VoxelData::radianceMaxDistance

◆ radianceMips

sdw::Float castor3d::shader::VoxelData::radianceMips

◆ radianceNumCones

sdw::UInt castor3d::shader::VoxelData::radianceNumCones

◆ radianceNumConesInv

sdw::Float castor3d::shader::VoxelData::radianceNumConesInv

◆ rayStepSize

sdw::Float castor3d::shader::VoxelData::rayStepSize

sdw::Vec3 pad;

◆ worldToGrid

sdw::Float castor3d::shader::VoxelData::worldToGrid

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