Kanzi 3.9.10
kanzi::ShaderProgram::BindingInfo Struct Reference

Binding info. More...

#include <kanzi/core.ui/platform/graphics_backend/gl/shader.hpp>

Public Member Functions

 BindingInfo (AbstractBindingSharedPtr bindingParam, AbstractPropertyType propertyType)
 Constructor.
 
 BindingInfo (AbstractBindingSharedPtr bindingParam, PropertyDataType dataTypeParam, string_view nameParam)
 Constructor.
 

Public Attributes

AbstractBindingSharedPtr binding
 Contained binding.
 
PropertyDataType targetDataType
 Target data type.
 
string targetName
 Target render value name.
 
AbstractPropertyType targetPropertyType
 Target property type.
 

Detailed Description

Binding info.

Constructor & Destructor Documentation

◆ BindingInfo() [1/2]

kanzi::ShaderProgram::BindingInfo::BindingInfo ( AbstractBindingSharedPtr bindingParam,
PropertyDataType dataTypeParam,
string_view nameParam )
inline

Constructor.

Parameters
bindingParamBinding used.
dataTypeParamTarget data type.
nameParamTarget name.

◆ BindingInfo() [2/2]

kanzi::ShaderProgram::BindingInfo::BindingInfo ( AbstractBindingSharedPtr bindingParam,
AbstractPropertyType propertyType )
inline

Constructor.

Binding without a render value name will not bind to a render value. This kind of construction should be used when binding to a variable.

Parameters
bindingParamBinding used.
propertyTypeTarget property type.

Member Data Documentation

◆ binding

AbstractBindingSharedPtr kanzi::ShaderProgram::BindingInfo::binding

Contained binding.

◆ targetPropertyType

AbstractPropertyType kanzi::ShaderProgram::BindingInfo::targetPropertyType

Target property type.

◆ targetDataType

PropertyDataType kanzi::ShaderProgram::BindingInfo::targetDataType

Target data type.

◆ targetName

string kanzi::ShaderProgram::BindingInfo::targetName

Target render value name.


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