csharp
public readonly record struct WgpuRenderPassDescriptorWhat 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[] ColourAttachmentsThe colour attachments, in order.
public int ColourAttachmentCountHow many of them are in use.
public WgpuDepthStencilAttachment? DepthStencilThe depth-stencil attachment, or .
public string LabelA name for the debugger and the capture.
Methods (1)
public WgpuRenderPassDescriptor(WgpuColourAttachment[] ColourAttachments, int ColourAttachmentCount, WgpuDepthStencilAttachment? DepthStencil, string Label = "")What a render pass renders into.
Used by (3)
- FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
- IWebGpuBindingVixen.Graphics.WebGPU
- NativeWebGpuBindingVixen.Graphics.WebGPU