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

#include <GlslVoxel.hpp>

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

Public Member Functions

 Voxel (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
auto colorMask () const
 
auto normalMask () const
 

Static Public Attributes

static uint32_t constexpr DataSize = 8u
 

Constructor & Destructor Documentation

◆ Voxel()

castor3d::shader::Voxel::Voxel ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )
inline

Member Function Documentation

◆ colorMask()

auto castor3d::shader::Voxel::colorMask ( ) const
inline

◆ normalMask()

auto castor3d::shader::Voxel::normalMask ( ) const
inline

Member Data Documentation

◆ DataSize

uint32_t constexpr castor3d::shader::Voxel::DataSize = 8u
staticconstexpr

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