@nextcloud/dialogs
    Preparing search index...

    Interface GPUAdapter

    The GPUAdapter interface of the WebGPU API represents a GPU adapter. From this you can request a GPUDevice, adapter info, features, and limits. Available only in secure contexts.

    MDN Reference

    interface GPUAdapter {
        features: GPUSupportedFeatures;
        info: GPUAdapterInfo;
        limits: GPUSupportedLimits;
        requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
    }
    Index

    Properties

    Methods

    Properties

    The features read-only property of the GPUAdapter interface returns a GPUSupportedFeatures object that describes additional functionality supported by the adapter.

    MDN Reference

    The info read-only property of the GPUAdapter interface returns a GPUAdapterInfo object containing identifying information about the adapter.

    MDN Reference

    The limits read-only property of the GPUAdapter interface returns a GPUSupportedLimits object that describes the limits supported by the adapter.

    MDN Reference

    Methods

    • The requestDevice() method of the GPUAdapter interface returns a Promise that fulfills with a GPUDevice object, which is the primary interface for communicating with the GPU.

      MDN Reference

      Parameters

      Returns Promise<GPUDevice>