Vixen
02b45cc4
csharp
public readonly record struct WgpuRenderPassDescriptor

What a render pass renders into.

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

Remarks

Takes an array plus a count rather than a right-sized array, because a pass descriptor is built once per pass per frame and allocating one there is an allocation in the frame loop. The recorder keeps a grown-once buffer and passes the live prefix.

Fields and properties (4)

  • public WgpuColourAttachment[] ColourAttachments

    The colour attachments, in order.

  • public int ColourAttachmentCount

    How many of them are in use.

  • public WgpuDepthStencilAttachment? DepthStencil

    The depth-stencil attachment, or .

  • public string Label

    A name for the debugger and the capture.

Methods (1)

Used by (3)

  • FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
  • IWebGpuBindingVixen.Graphics.WebGPU
  • NativeWebGpuBindingVixen.Graphics.WebGPU