csharp
public readonly record struct SwapChainDescriptionWhat to create a swapchain as.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public SurfaceHandle SurfaceThe window surface to present to.
public Int2 SizeThe size in pixels.
public PixelFormat FormatThe preferred format. A backend may return a different one, so read Format back rather than assuming.
public PresentMode PresentModeThe preferred present mode. Falls back to Fifo, which is the only one every driver must support.
public int ImageCountHow many images to ask for.
Methods (1)
public SwapChainDescription(SurfaceHandle Surface, Int2 Size, PixelFormat Format = Bgra8UNormSrgb, PresentMode PresentMode = Fifo, int ImageCount = 3)What to create a swapchain as.
Used by (10)
- GlDeviceVixen.Graphics.OpenGL
- GlSwapChainVixen.Graphics.OpenGL
- IGraphicsDeviceVixen.Graphics
- NullDeviceVixen.Graphics.Null
- NullDeviceTestsVixen.Graphics.Null.Tests
- NullSwapChainVixen.Graphics.Null
- VulkanDeviceVixen.Graphics.Vulkan
- VulkanSwapChainVixen.Graphics.Vulkan
- WebGpuDeviceVixen.Graphics.WebGPU
- WebGpuSwapChainVixen.Graphics.WebGPU