csharp
public interface ISwapChainThe images a window is presented from.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
PixelFormat FormatThe format of its images.
Int2 SizeTheir size in pixels.
PresentMode PresentModeHow it waits for the display.
int ImageCountHow many images it cycles through.
TextureHandle CurrentTextureThe texture behind the image currently acquired.
Methods (3)
SwapChainStatus AcquireNextImage(out TextureViewHandle view)Takes the next image to render into.
SwapChainStatus Present()Presents the acquired image.
void Resize(Int2 size)Rebuilds it at a new size.
Used by (21)
- PbrShowcaseGamePbrShowcase
- TriangleGameHelloTriangle
- UiHostHelloUi
- VideoGameVideoPlayback
- VirtualGeometryGameVirtualGeometry
- AppGraphicsVixen.App.Hosting
- 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
- WebGpuDeviceTestsVixen.Graphics.WebGPU.Tests
- WebGpuSwapChainVixen.Graphics.WebGPU
- EditorHostVixen.Editor.Host
- EditorPaneVixen.Editor.Host
- GraphicsHostVixen.App
- HostedRendererTestsVixen.App.Tests