WebGPU.rocks Logo

GPU

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

    GPURequestAdapterOptions

    • powerPreference: GPUPowerPreference
    • forceFallbackAdapter: boolean= 'false'

    GPUPowerPreference

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