Top-level structure that contains the reflection information for a shader stage or program. More...
#include <kanzi/gfx/reflection.hpp>
Public Attributes | |
| vector< BindingBlock > | bindingBlocks |
| List of binding blocks defined in the shader. | |
| InterfaceBlock | constantBlock |
| The constant block defined in the shader. | |
| bool | hasBlendEquationAdvanced |
| Indicates whether the shader program declares support for all advanced blend equations. | |
| bool | hasGPUSceneMaterialInfo |
| Indicates whether the shader program defines GPU scene material info. | |
| VectorMap< string, Attribute > | inputAttributes |
| Mapping of stage-input attribute name to its layout and type info. | |
| VectorMap< string, Attribute > | outputAttributes |
| Mapping of stage-output attribute name to its layout and type info. | |
| VectorMap< string, InterfaceBlock > | structInterfaceBlocks |
| List of user defined structs in the shader, including kzGPUSceneMaterialInfo. | |
Top-level structure that contains the reflection information for a shader stage or program.
| vector<BindingBlock> kanzi::gfx::reflection::ReflectionInfo::bindingBlocks |
List of binding blocks defined in the shader.
| InterfaceBlock kanzi::gfx::reflection::ReflectionInfo::constantBlock |
The constant block defined in the shader.
Mapping of stage-input attribute name to its layout and type info.
Mapping of stage-output attribute name to its layout and type info.
| VectorMap<string, InterfaceBlock> kanzi::gfx::reflection::ReflectionInfo::structInterfaceBlocks |
List of user defined structs in the shader, including kzGPUSceneMaterialInfo.
| bool kanzi::gfx::reflection::ReflectionInfo::hasBlendEquationAdvanced |
Indicates whether the shader program declares support for all advanced blend equations.
Render state validation uses this to determine if the shader program can be used with advanced blending modes.
| bool kanzi::gfx::reflection::ReflectionInfo::hasGPUSceneMaterialInfo |
Indicates whether the shader program defines GPU scene material info.