Interface GPUAdapter

Hierarchy

  • GPUAdapter

Properties

__brand: "GPUAdapter"

The set of values in this.GPUAdapter#[[adapter]].adapter#[[features]].

isFallbackAdapter: boolean

Methods

  • Requests the GPUAdapterInfo for this GPUAdapter. Note: Adapter info values are returned with a Promise to give user agents an opportunity to perform potentially long-running checks when requesting unmasked values, such as asking for user consent before returning. If no unmaskHints are specified, however, no dialogs should be displayed to the user.

    Parameters

    • Optional unmaskHints: string[]

      A list of GPUAdapterInfo attribute names for which unmasked values are desired if available.

    Returns Promise<GPUAdapterInfo>