Table of Contents

Class WebGPUEnvironmentOptions

Namespace
SixLabors.ImageSharp.Drawing.Processing.Backends
Assembly
SixLabors.ImageSharp.Drawing.WebGPU.dll

Options for the library-managed WebGPU environment.

public sealed class WebGPUEnvironmentOptions
Inheritance
WebGPUEnvironmentOptions
Inherited Members

Remarks

Assign these options before constructing WebGPU objects or calling support probes. The shared WebGPU runtime reads the current options during first initialization; changing them later does not reconfigure an existing device.

Properties

Default

Gets the default WebGPU environment options.

public static WebGPUEnvironmentOptions Default { get; }

Property Value

WebGPUEnvironmentOptions

PowerPreference

Gets or sets the adapter power preference requested for the library-managed device.

public WebGPUPowerPreference PowerPreference { get; set; }

Property Value

WebGPUPowerPreference