Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::ShaderInterfaceVariable Struct Reference

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.

Detailed Description

A flattened scalar/vector entry-point input or output.

Member Data Documentation

◆ builtin

ShaderBuiltin donner::gpu::shader::ShaderInterfaceVariable::builtin
Initial value:
=
ShaderBuiltin::None

Builtin value, or None for a location-based variable.

◆ flat

bool donner::gpu::shader::ShaderInterfaceVariable::flat = false

Flat interstage interpolation.

◆ lanes

uint8_t donner::gpu::shader::ShaderInterfaceVariable::lanes = 1

Vector lane count.

◆ location

uint32_t donner::gpu::shader::ShaderInterfaceVariable::location = UINT32_MAX

User location, or UINT32_MAX when absent.

◆ name

ShaderName donner::gpu::shader::ShaderInterfaceVariable::name

Flattened input or output name.

◆ scalarType

ShaderScalarType donner::gpu::shader::ShaderInterfaceVariable::scalarType = ShaderScalarType::F32

Numeric component kind.


The documentation for this struct was generated from the following file: