GO-V.ORG
As seen in

GPUAdapter: info property

WebGPU API

WebGPU API

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

## Value

A GPUAdapterInfo object instance.

## Examples

### Basic info usage

```js
const adapter = await navigator.gpu.requestAdapter();
if (!adapter) {
throw Error("Couldn't request WebGPU adapter.");
}

const adapterInfo = adapter.info;
console.log(adapterInfo.vendor);
console.log(adapterInfo.architecture);
```

## Specifications

## Browser compatibility

## See also

- The [WebGPU API](/docs/Web/API/WebGPU_API)

source: MDN Web Docs mirror · page

Cite this

"GPUAdapter: info property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/GPUAdapter/info

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·