public record class StageBuiltInInfoOne pipeline-supplied value, and how it is spelled everywhere it appears.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public string SemanticThe HLSL-style name a [Semantic("…")] carries.
public StageBuiltIn BuiltInWhich value it is.
public ShaderStage StageThe stage that supplies it.
public PrimitiveTypeSymbol TypeThe type the parameter has to be declared as. Refused rather than converted when it does not match, so a conversion nobody wrote never appears between the built-in and its first use.
public string GlslNameThe GLSL built-in variable. The SPIR-V spelling is SpirvBuiltIns.Of's, deliberately kept there rather than here: neither target's name should be the one the other is derived from, and both read StageBuiltIn, so one added in either place cannot be silently missing from the other.
Methods (1)
public StageBuiltInInfo(string Semantic, StageBuiltIn BuiltIn, ShaderStage Stage, PrimitiveTypeSymbol Type, string GlslName)One pipeline-supplied value, and how it is spelled everywhere it appears.
Used by (5)
- GlslEmitterVixen.Raven
- SourceNamedTypeSymbolVixen.Raven
- SpirvEmitterVixen.Raven
- StageBuiltInTestsVixen.Raven.Tests
- StageBuiltInsVixen.Raven