Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.SystemInfo.GPUDevice
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { GPUDevice } = Protocol.SystemInfo;

Describes a single graphics processor (GPU).

Properties

vendorId: number

PCI ID of the GPU vendor, if available; 0 otherwise.

deviceId: number

PCI ID of the GPU device, if available; 0 otherwise.

optional
subSysId: number

Sub sys ID of the GPU, only available on Windows.

optional
revision: number

Revision of the GPU, only available on Windows.

vendorString: string

String description of the GPU vendor, if the PCI ID is not available.

deviceString: string

String description of the GPU device, if the PCI ID is not available.

driverVendor: string

String description of the GPU driver vendor.

driverVersion: string

String description of the GPU driver version.