Vixen
02b45cc4
csharp
public record class EffectModule

One pipeline stage inside a compiled effect.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • public ShaderStage Stage

    The stage this module drives.

  • public string Name

    The unit's name, as the backend produced it.

  • public ImmutableArray<byte> Bytes

    SPIR-V words for a binary target, or the UTF-8 source for a text target. Which it is follows from , not from guessing at the content.

  • public bool IsBinary

    Whether is a binary module or source text.

Methods (2)

  • public EffectModule(ShaderStage Stage, string Name, ImmutableArray<byte> Bytes, bool IsBinary)

    One pipeline stage inside a compiled effect.

  • public string AsText()

    The module as text. Only meaningful for a source target.

Used by (5)

  • CompiledEffectVixen.Raven
  • CompiledEffectReaderVixen.Raven
  • CompiledEffectTestsVixen.Raven.Tests
  • CompiledEffectWriterVixen.Raven
  • EffectTranslatorVixen.ShaderCompiler