csharp
public readonly record struct WgpuColourAttachmentOne colour attachment of a render pass.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (8)
public WebGpuObject ViewWhat to render into.
public WebGpuObject ResolveTargetWhere to resolve a multisampled attachment.
public WgpuLoadOp LoadOpWhat to do with it at the start of the pass.
public WgpuStoreOp StoreOpWhat to do with it at the end.
public double ClearRThe red channel of the clear value.
public double ClearGThe green channel.
public double ClearBThe blue channel.
public double ClearAThe alpha channel.
Methods (1)
public WgpuColourAttachment(WebGpuObject View, WebGpuObject ResolveTarget, WgpuLoadOp LoadOp, WgpuStoreOp StoreOp, double ClearR, double ClearG, double ClearB, double ClearA)One colour attachment of a render pass.
Used by (5)
- FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
- NativeWebGpuBindingVixen.Graphics.WebGPU
- WebGpuCommandListVixen.Graphics.WebGPU
- WebGpuDeviceVixen.Graphics.WebGPU
- WgpuRenderPassDescriptorVixen.Graphics.WebGPU