GPURequestAdapterOptions constructor
GPURequestAdapterOptions({
- GPUPowerPreference? powerPreference,
- bool? forceFallbackAdapter,
Implementation
factory GPURequestAdapterOptions(
{GPUPowerPreference? powerPreference, bool? forceFallbackAdapter}) =>
GPURequestAdapterOptions._(
powerPreference: powerPreference?.value ?? undefined,
forceFallbackAdapter: forceFallbackAdapter ?? false);