sealed class Tinman.Gpu.Semantic.StageInOutAttribute

Derived from

Attribute abstract

The annotated struct is used to pass data into shader stages and to return data from shader stages.

The fields of all structs that are used as input for a shader stage must each have a unique usage semantic, which may either be a system value (see System) or one of the following: Color, Normal, Position, Tangent, TexCoord. This restriction ensures that input/output mapping in HLSL will work as expected.

See also