Kanzi 4.1.0
kanzi::ShaderProgram::BufferProperty Struct Reference

Description of a Buffer. More...

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

Public Member Functions

 BufferProperty ()=default
 Constructor.
 

Public Attributes

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

Detailed Description

Description of a Buffer.

Since
Kanzi 4.1.0

Constructor & Destructor Documentation

◆ BufferProperty()

kanzi::ShaderProgram::BufferProperty::BufferProperty ( )
explicitdefault

Constructor.

Member Data Documentation

◆ propertyType

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

Corresponding property type.

Can be nullopt.

◆ name

string kanzi::ShaderProgram::BufferProperty::name

Name of the uniform.

This corresponds with the unqualified name of the property type if a property type is set.

◆ setIndex

uint16_t kanzi::ShaderProgram::BufferProperty::setIndex

Resource Set Index.

◆ bindingIndex

uint8_t kanzi::ShaderProgram::BufferProperty::bindingIndex

Binding index within the set.


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