Kanzi 4.1.0
kanzi::ShaderProgram::AccelerationStructure Struct Reference

Description of a Shader Acceleration Structure. More...

#include <kanzi/core.ui/graphics3d/shader.hpp>

Public Member Functions

 AccelerationStructure ()=default
 Constructor.
 
 AccelerationStructure (string_view name, optional< AbstractPropertyType > propertyType, uint8_t setIndex, uint8_t bindingIndex)
 Constructor for an acceleration structure.
 

Public Attributes

uint8_t bindingIndex
 Binding index within the set.
 
string name
 Name of the acceleration structure.
 
optional< AbstractPropertyTypepropertyType
 Corresponding property type.
 
uint16_t setIndex
 Resource Set Index.
 

Detailed Description

Description of a Shader Acceleration Structure.

Since
Kanzi 4.1.0

Constructor & Destructor Documentation

◆ AccelerationStructure() [1/2]

kanzi::ShaderProgram::AccelerationStructure::AccelerationStructure ( )
explicitdefault

Constructor.

◆ AccelerationStructure() [2/2]

kanzi::ShaderProgram::AccelerationStructure::AccelerationStructure ( string_view name,
optional< AbstractPropertyType > propertyType,
uint8_t setIndex,
uint8_t bindingIndex )
inlineexplicit

Constructor for an acceleration structure.

Parameters
nameAcceleration structure name.
propertyTypeAcceleration structure propertyType.
setIndexResource Set index.
bindingIndexBinding index within resource set.

Member Data Documentation

◆ name

string kanzi::ShaderProgram::AccelerationStructure::name

Name of the acceleration structure.

◆ propertyType

optional<AbstractPropertyType> kanzi::ShaderProgram::AccelerationStructure::propertyType

Corresponding property type.

Can be nullopt.

◆ setIndex

uint16_t kanzi::ShaderProgram::AccelerationStructure::setIndex

Resource Set Index.

◆ bindingIndex

uint8_t kanzi::ShaderProgram::AccelerationStructure::bindingIndex

Binding index within the set.


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