csharp
public readonly record struct WgpuSurfaceConfigurationHow to configure a surface for presentation.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public WgpuTextureFormat FormatThe format its textures are in.
public WgpuTextureUsage UsageWhat they may be used for.
public int WidthTheir width in pixels.
public int HeightTheir height in pixels.
public WgpuPresentMode PresentModeHow it waits for the display.
public WgpuCompositeAlphaMode AlphaModeHow its alpha composites.
Methods (1)
public WgpuSurfaceConfiguration(WgpuTextureFormat Format, WgpuTextureUsage Usage, int Width, int Height, WgpuPresentMode PresentMode, WgpuCompositeAlphaMode AlphaMode)How to configure a surface for presentation.
Used by (3)
- FakeWebGpuBindingVixen.Graphics.WebGPU.Tests
- IWebGpuBindingVixen.Graphics.WebGPU
- NativeWebGpuBindingVixen.Graphics.WebGPU