Description of a Shader Texture. More...
#include <kanzi/core.ui/graphics3d/shader.hpp>
Public Member Functions | |
| TextureProperty ()=default | |
| Constructor. | |
| TextureProperty (string_view name, PropertyDataType dataType, optional< AbstractPropertyType > propertyType, UniformBindingType bindingType, optional< FixedUniform > fixedOperation, FixedUniformFunction func, uint16_t setIndex, gfx::ImageType imageType) | |
| Constructor for generic render values. | |
Public Attributes | |
| UniformBindingType | bindingAssociation |
| The type of binding associated with the uniform. | |
| PropertyDataType | dataType |
| Uniform data type. | |
| FixedUniformFunction | fixedFunction |
| Corresponding function pointer. | |
| optional< FixedUniform > | fixedOperation |
| Corresponding fixed uniform. | |
| gfx::ImageType | imageType |
| Image type derived from reflection data. | |
| string | name |
| Name of the uniform. | |
| optional< AbstractPropertyType > | propertyType |
| Corresponding property type. | |
| uint16_t | setIndex |
| Resource Set Index. | |
Description of a Shader Texture.
|
explicitdefault |
Constructor.
|
inlineexplicit |
Constructor for generic render values.
There may be a binding for this value or the value may be set manually.
| name | Render value name. |
| dataType | Uniform data type. |
| propertyType | Property type corresponding with the Render value. Can be nullopt. |
| bindingType | The type of binding associated with the uniform. |
| fixedOperation | Fixed uniform identifier. |
| func | Potential function pointer to use. |
| setIndex | Resource Set index. |
| imageType | Image type derived from reflection data. |
| string kanzi::ShaderProgram::TextureProperty::name |
Name of the uniform.
This corresponds with the unqualified name of the property type if a property type is set.
| PropertyDataType kanzi::ShaderProgram::TextureProperty::dataType |
Uniform data type.
| optional<AbstractPropertyType> kanzi::ShaderProgram::TextureProperty::propertyType |
Corresponding property type.
Can be nullopt.
| UniformBindingType kanzi::ShaderProgram::TextureProperty::bindingAssociation |
The type of binding associated with the uniform.
Uniforms may associate with a manually defined binding contained in the regular binding set. If manual binding is not present, the binding association may instruct to create a default binding.
| optional<FixedUniform> kanzi::ShaderProgram::TextureProperty::fixedOperation |
Corresponding fixed uniform.
Can be nullopt.
| FixedUniformFunction kanzi::ShaderProgram::TextureProperty::fixedFunction |
Corresponding function pointer.
Can be nullptr.
| gfx::ImageType kanzi::ShaderProgram::TextureProperty::imageType |
Image type derived from reflection data.