GPU

  • requestAdapter(options: GPURequestAdapterOptions): Promise<GPUAdapter>

    GPURequestAdapterOptions

    • powerPreference: GPUPowerPreference
    • forceFallbackAdapter: boolean

    GPUPowerPreference

    'low-power', 'high-performance'
  • getPreferredCanvasFormat(): GPUTextureFormat