GPURequestAdapterOptions constructor

GPURequestAdapterOptions({
  1. GPUPowerPreference? powerPreference,
  2. bool? forceFallbackAdapter,
})

Implementation

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