A flattened scalar/vector entry-point input or output. More...
#include "donner/gpu/shader/CompiledShader.h"
Public Attributes | |
| ShaderName | name |
| Flattened input or output name. | |
| ShaderScalarType | scalarType = ShaderScalarType::F32 |
| Numeric component kind. | |
| uint8_t | lanes = 1 |
| Vector lane count. | |
| ShaderBuiltin | builtin |
| Builtin value, or None for a location-based variable. | |
| uint32_t | location = UINT32_MAX |
| User location, or UINT32_MAX when absent. | |
| bool | flat = false |
| Flat interstage interpolation. | |
A flattened scalar/vector entry-point input or output.
| ShaderBuiltin donner::gpu::shader::ShaderInterfaceVariable::builtin |
Builtin value, or None for a location-based variable.
| bool donner::gpu::shader::ShaderInterfaceVariable::flat = false |
Flat interstage interpolation.
| uint8_t donner::gpu::shader::ShaderInterfaceVariable::lanes = 1 |
Vector lane count.
| uint32_t donner::gpu::shader::ShaderInterfaceVariable::location = UINT32_MAX |
User location, or UINT32_MAX when absent.
| ShaderName donner::gpu::shader::ShaderInterfaceVariable::name |
Flattened input or output name.
| ShaderScalarType donner::gpu::shader::ShaderInterfaceVariable::scalarType = ShaderScalarType::F32 |
Numeric component kind.