Skip to main content

AdapterInfo

Electron APIs / recorder / AdapterInfo

Information about a GPU adapter (graphics device).

This structure provides metadata such as adapter name, driver, and hardware-accelerated GPU scheduling (HAGS) support.

Example

const adapter: AdapterInfo = {
index: 0,
name: "NVIDIA GeForce RTX 3080",
driver: "546.33",
hagsEnabled: true,
hagsEnabledByDefault: false,
};

Properties

PropertyModifierTypeDescription
driverreadonlystringThe version of the GPU driver currently installed.
hagsEnabledreadonlybooleanIndicates whether Hardware-Accelerated GPU Scheduling (HAGS) is currently enabled.
hagsEnabledByDefaultreadonlybooleanIndicates whether HAGS is enabled by default on this adapter.
indexreadonly0The index of the adapter (usually starts at 0 for the primary GPU).
namereadonlystringThe display name of the GPU adapter.