Vixen
02b45cc4
csharp
public readonly record struct SwapChainDescription

What 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 Surface

    The window surface to present to.

  • public Int2 Size

    The size in pixels.

  • public PixelFormat Format

    The preferred format. A backend may return a different one, so read Format back rather than assuming.

  • public PresentMode PresentMode

    The preferred present mode. Falls back to Fifo, which is the only one every driver must support.

  • public int ImageCount

    How many images to ask for.

Methods (1)

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