Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::ShaderProgram::BindingInfo Struct Reference

Binding info. More...

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

Public Member Functions

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

Public Attributes

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

Detailed Description

Binding info.

Constructor & Destructor Documentation

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

Constructor.

Parameters
bindingParamBinding used.
dataTypeParamTarget data type.
nameParamTarget name.
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

AbstractBindingSharedPtr kanzi::ShaderProgram::BindingInfo::binding

Contained binding.

AbstractPropertyType kanzi::ShaderProgram::BindingInfo::targetPropertyType

Target property type.

PropertyDataType kanzi::ShaderProgram::BindingInfo::targetDataType

Target data type.

string kanzi::ShaderProgram::BindingInfo::targetName

Target render value name.


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