Skip to main content

Struct WebGpuRuntime.WebGpuRequestAdapterOptions

Namespace: VelloSharp
Assembly: VelloSharp.WebAssembly.dll

public readonly struct WebGpuRuntime.WebGpuRequestAdapterOptions

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

WebGpuRequestAdapterOptions(WebGpuPowerPreference, bool)​

public WebGpuRequestAdapterOptions(WebGpuRuntime.WebGpuPowerPreference powerPreference, bool forceFallbackAdapter)

Parameters​

powerPreference WebGpuRuntime.WebGpuPowerPreference

forceFallbackAdapter bool

Properties​

Default​

public static WebGpuRuntime.WebGpuRequestAdapterOptions Default { get; }

Property Value​

WebGpuRuntime.WebGpuRequestAdapterOptions

ForceFallbackAdapter​

public bool ForceFallbackAdapter { get; }

Property Value​

bool

PowerPreference​

public WebGpuRuntime.WebGpuPowerPreference PowerPreference { get; }

Property Value​

WebGpuRuntime.WebGpuPowerPreference