Interface GPU

    Properties

    __brand: "GPU"
    wgslLanguageFeatures: WGSLLanguageFeatures

    Methods

    • Requests an adapter from the user agent. The user agent chooses whether to return an adapter, and, if so, chooses according to the provided options.

      Parameters

      Returns Promise<GPUAdapter>