Reflection entry for a stage input or output attribute. More...
#include <kanzi/gfx/reflection.hpp>
Public Attributes | |
| uint8_t | component |
First component within the slot (the GLSL layout(component = M) qualifier; defaults to 0). | |
| uint8_t | location |
Attribute binding slot (the GLSL layout(location = N) qualifier). | |
| TypeInfo | typeInfo |
| Primitive type, component count, and array arity of the attribute. | |
Reflection entry for a stage input or output attribute.
Carries the attribute's location and component layout qualifiers alongside its type info. For fragment outputs the pair (location, component) identifies which channels of which color attachment the shader writes, which pipeline validation uses to reconcile against the blend state's per-channel write mask.
| uint8_t kanzi::gfx::reflection::Attribute::location |
Attribute binding slot (the GLSL layout(location = N) qualifier).
| uint8_t kanzi::gfx::reflection::Attribute::component |
First component within the slot (the GLSL layout(component = M) qualifier; defaults to 0).
| TypeInfo kanzi::gfx::reflection::Attribute::typeInfo |
Primitive type, component count, and array arity of the attribute.