Class WebGPUExternalSurfaceOptions
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.WebGPU.dll
Options for creating a WebGPUExternalSurface.
public sealed class WebGPUExternalSurfaceOptions
- Inheritance
-
WebGPUExternalSurfaceOptions
- Inherited Members
Remarks
Only values that are meaningful for an externally-owned surface are exposed here. Lifecycle, title, position, border, and state belong to the host application and its UI framework.
Properties
Format
Gets or sets the swapchain texture format used by acquired frames.
public WebGPUTextureFormat Format { get; set; }
Property Value
PresentMode
Gets or sets how completed frames are queued for presentation to the display.
public WebGPUPresentMode PresentMode { get; set; }