WebIDLpedia

GPUAdapter interface

Definition

WebGPU defines GPUAdapter



[Exposed=(Window, Worker), SecureContext]
interface GPUAdapter {
    [SameObject] readonly attribute GPUSupportedFeatures features;
    [SameObject] readonly attribute GPUSupportedLimits limits;
    [SameObject] readonly attribute GPUAdapterInfo info;
    readonly attribute boolean isFallbackAdapter;

    Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
};

Methods and attributes that return objects implementing GPUAdapter

Referring IDL interfaces/dictionaries