Language
Stages, structures and attributes.
Stages#
[ShaderStage(Stage.Vertex)], [ShaderStage(Stage.Fragment)] and [ShaderStage(Stage.Compute)] mark entry points.
Structures#
Plain C# struct types describe stage inputs and outputs. Fields carry attributes that identify built-ins, locations and semantics.
Attribute vocabularies#
Five equivalent vocabularies exist; see How it works.