Vixen
02b45cc4
csharp
public record class RenderStageAsset

One render stage, as a file declares it.

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

Remarks

Blend and depth are named presets rather than full states, because those four and those three are what a stage has ever wanted and an author writing out seven blend factors is an author about to get one of them wrong. A project that genuinely needs another supplies its own IPipelineDescriber, which is where an unusual pipeline belongs anyway.

Fields and properties (10)

  • public string Name

    What the stage is called, and what a node refers to it by.

  • public RenderSortMode SortMode

    How its work is ordered.

  • public BlendPreset Blend

    How its fragments combine with the target.

  • public DepthPreset Depth

    What its draws do with depth.

  • public CullMode Cull

    Which faces it discards.

  • public float DepthBias

    A constant added to depth — a shadow-caster stage's peter-panning knob.

  • public float DepthBiasSlope

    A factor on the polygon's depth slope.

  • public bool DepthClamp

    Whether to clamp depth rather than clip it, so a caster in front of near still casts.

  • public string Shader

    The shader every draw in this stage uses instead of its material's, or empty for the material's own.

  • public bool ComposeFromMaterial

    Whether the overriding shader takes its compose slots from the material.

Used by (10)

  • CompositorBuilderVixen.Rendering
  • CompositorContentTestsVixen.Assets.Tests
  • GraphicsCompositorAssetVixen.Rendering
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_Compositor_GraphicsCompositorAssetSerializerVixen.Rendering
  • Vixen_Rendering_Compositor_RenderStageAssetSerializerVixen.Rendering
  • CompositorCompilerTestsVixen.Editor.AssetEditors.Tests
  • CompositorDeclarationsVixen.Editor.AssetEditors
  • HostedRendererTestsVixen.App.Tests
  • StageNodeVixen.Editor.AssetEditors