Vixen
02b45cc4
csharp
public record class StageBuiltInInfo

One 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 Semantic

    The HLSL-style name a [Semantic("…")] carries.

  • public StageBuiltIn BuiltIn

    Which value it is.

  • public ShaderStage Stage

    The stage that supplies it.

  • public PrimitiveTypeSymbol Type

    The 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 GlslName

    The 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)

Used by (5)

  • GlslEmitterVixen.Raven
  • SourceNamedTypeSymbolVixen.Raven
  • SpirvEmitterVixen.Raven
  • StageBuiltInTestsVixen.Raven.Tests
  • StageBuiltInsVixen.Raven