csharp
public static class SpirvBuiltInsThe SPIR-V built-in each stage semantic maps to.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from StageBuiltIns's GLSL name so that neither target's spelling is the one the other has to be derived from — but both read the same StageBuiltIn, so a built-in added in one place cannot be silently missing here. Kept as an enumerant rather than flattened to its number, because that is what puts BuiltIn VertexIndex rather than BuiltIn 42 in a listing.
Methods (1)
public static SpirvBuiltIn Of(StageBuiltIn builtIn)
Used by (1)
- SpirvEmitterVixen.Raven