Shader reflection library.
◆ AccessStage
Specifies the stages that use the resource.
- Since
- Kanzi 4.0.0
| Enumerator |
|---|
| VertexStage | Resource is accessed by vertex stage(s).
|
| FragmentStage | Resource is accessed by fragment stage.
|
| ComputeStage | Resource is accessed by compute stage.
|
| All | Access by all stages.
|
◆ PrimitiveType
Specifies the primitive types.
- Since
- Kanzi 4.0.0
| Enumerator |
|---|
| Invalid | An invalid primitive type.
|
| Boolean | A boolean primitive type.
|
| Integer | An integral primitive type.
|
| UnsignedInteger | An unsigned integral primitive type.
|
| FloatingPoint | A floating point primitive type.
|
◆ to_format()
Converts a TypeInfo structure into a graphics format.
- Parameters
-
- Returns
- The graphics format that represents the type info.
- Since
- Kanzi 4.0.0
◆ operator==()
Equality operator for the TypeInfo.
- Parameters
-
- Returns
- If the values are equivalent, true, otherwise false.
- Since
- Kanzi 4.0.0
◆ operator!=()
Not equality operator for the TypeInfo.
- Parameters
-
- Returns
- If the values are not equivalent, true, otherwise false.
- Since
- Kanzi 4.0.0
◆ mergeReflectionInfos()
Merges reflection information into a unified structure.
This is commonly used to combine individual reflection information for multiple shader stages into reflection for the whole program.
- Parameters
-
| infos | A span of reflection information in stage order. |
- Returns
- The combined reflection information.
- Since
- Kanzi 4.0.0