public record class IrStageIoOne input or output of an entry point.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
is what multiple render targets are made of. A stage interface variable gets one location and therefore has to be one scalar or vector, so a fragment stage writing four targets returns a struct and the entry-point wrapper takes it apart — one extract, one store, per target. Recording the index here rather than re-deriving it in each backend keeps the two from disagreeing about which member is which target.
Fields and properties (4)
public string NameThe interface variable's name.
public IrType TypeIts type, which StageInterface has to accept.
public string? SemanticThe pipeline semantic, if any.
public int? MemberFor an output, the index of the returned struct's member this output takes its value from; null when the output is the returned value.
Methods (1)
public IrStageIo(string Name, IrType Type, string? Semantic, int? Member = null)One input or output of an entry point.
Used by (11)
- GlslEmitterVixen.Raven
- ImportPrunerVixen.Raven
- IrCapabilitiesVixen.Raven
- IrEntryPointVixen.Raven
- IrPrinterVixen.Raven
- LowererVixen.Raven
- LoweringTestsVixen.Raven.Tests
- ReflectionBuilderVixen.Raven
- RenderTargetTestsVixen.Raven.Tests
- SpirvEmitterVixen.Raven
- StreamPlanVixen.Raven