Skip to main content

GPUAdapterInfo

The GPUAdapterInfo interface of the WebGPU API contains identifying information about a GPUAdapter. Available only in secure contexts.

MDN Reference

Properties

architecture

readonly architecture: string;

The architecture read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available.

MDN Reference


description

readonly description: string;

The description read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available.

MDN Reference


device

readonly device: string;

The device read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available.

MDN Reference


isFallbackAdapter

readonly isFallbackAdapter: boolean;

The isFallbackAdapter read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not.

MDN Reference


subgroupMaxSize

readonly subgroupMaxSize: number;

The subgroupMaxSize read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.

MDN Reference


subgroupMinSize

readonly subgroupMinSize: number;

The subgroupMinSize read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature.

MDN Reference


vendor

readonly vendor: string;

The vendor read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available.

MDN Reference