Vixen
02b45cc4
csharp
public record class RenderPassAsset

A render pass, and what draws into it.

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

Fields and properties (19)

  • public string Name

    The node's name, for debug groups and for a human reading the file.

  • public bool Enabled

    Whether the node runs.

  • public string[] ColourTargets

    The names of its colour attachments, in the order the shader writes them.

  • public string? DepthTarget

    The name of its depth attachment, if it has one.

  • public int SampleCount

    How many samples its attachments have.

  • public string[] Reads

    The names of resources this pass samples.

  • public string[] BufferReads

    The names of buffers this pass reads — a cluster list, a light list.

  • public LoadAction Load

    What happens to its colour attachments at the start of the pass.

  • public string[] Loaded

    Which of the colour attachments keep what is already in them, whatever Load says.

  • public Color3 ClearColour

    What they are cleared to, opaque.

  • public LoadAction DepthLoad

    What happens to its depth attachment.

  • public float ClearDepth

    What depth is cleared to.

  • public bool ReadOnlyDepth

    Whether depth is bound read-only, for a pass that tests but does not write.

  • public DescriptorSetSlot Slot

    Which of the four conventional sets it binds.

  • public ResourceBindingAsset[] Bindings

    What the pass binds once, before anything under it draws.

  • public ScenePublishAsset[] SceneTextures

    Frame textures the pass hands to the scene's set, for whatever draws inside it.

  • public ScenePublishAsset[] SceneBuffers

    Frame buffers it hands to the scene's set, on the same terms.

  • public string Shader

    Which pass's names the published resources are qualified by.

  • public ISceneRendererAsset[] Children

    What draws into it.

Used by (8)

  • CompositorAssetTestsVixen.Rendering.Tests
  • CompositorBuilderVixen.Rendering
  • CompositorContentTestsVixen.Assets.Tests
  • GraphicsCompositorAssetVixen.Rendering
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_Compositor_RenderPassAssetSerializerVixen.Rendering
  • CompositorCompilerTestsVixen.Editor.AssetEditors.Tests
  • RenderPassNodeVixen.Editor.AssetEditors