ShaderCompiler::AttributeInfo struct

Vertex attribute ("in" declaration in the vertex stage).

Public variables

String Name
Attribute name.
GlslType Type
Data type of the attribute.
String TypeName
Name of the user struct type (only when Type is GlslType::Struct).
std::int32_t Location
Explicit layout(location = N) index, or -1 when unspecified.