csharp
public readonly record struct ColourAttachmentOne attachment in a render pass.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public TextureViewHandle ViewWhat to render into.
public LoadAction LoadWhat to do with it at the start of the pass.
public StoreAction StoreWhat to do with it at the end.
public Color4 ClearColourWhat to clear to, when clears.
public TextureViewHandle ResolveViewWhere to resolve a multisampled attachment, when resolves.
Methods (1)
public ColourAttachment(TextureViewHandle View, LoadAction Load = Clear, StoreAction Store = Store, Color4 ClearColour = default(Color4), TextureViewHandle ResolveView = default(TextureViewHandle))One attachment in a render pass.
Used by (16)
- VirtualGeometryGameVirtualGeometry
- CommandRecorderTestsVixen.Graphics.Null.Tests
- GlCommandListVixen.Graphics.OpenGL
- IrradianceCubeCaptureVixen.Rendering
- NativeWebGpuTestsVixen.Graphics.WebGPU.Tests
- ObservedPassVixen.Graphics.RenderGraph.Tests
- RenderGraphVixen.Graphics.RenderGraph
- RenderGraphTestsVixen.Graphics.RenderGraph.Tests
- RenderPassDescriptionVixen.Graphics
- SurfaceCardCaptureVixen.Rendering
- VideoInUiTestsVixen.Video.Rendering.Tests
- VideoRenderTargetVixen.Video.Rendering
- VideoRendererTestsVixen.Video.Rendering.Tests
- VulkanCommandListVixen.Graphics.Vulkan
- WebGpuCommandListVixen.Graphics.WebGPU
- WebGpuCommandTestsVixen.Graphics.WebGPU.Tests