GPUInfo

@Serializable
data class GPUInfo(val devices: List<SystemInfo.GPUDevice>, val auxAttributes: Map<String, JsonElement>? = null, val featureStatus: Map<String, JsonElement>? = null, val driverBugWorkarounds: List<String>, val videoDecoding: List<SystemInfo.VideoDecodeAcceleratorCapability>, val videoEncoding: List<SystemInfo.VideoEncodeAcceleratorCapability>)

Provides information about the GPU(s) on the system.

Constructors

Link copied to clipboard
constructor(devices: List<SystemInfo.GPUDevice>, auxAttributes: Map<String, JsonElement>? = null, featureStatus: Map<String, JsonElement>? = null, driverBugWorkarounds: List<String>, videoDecoding: List<SystemInfo.VideoDecodeAcceleratorCapability>, videoEncoding: List<SystemInfo.VideoEncodeAcceleratorCapability>)

Properties

Link copied to clipboard
val auxAttributes: Map<String, JsonElement>? = null

An optional dictionary of additional GPU related attributes.

Link copied to clipboard

The graphics devices on the system. Element 0 is the primary GPU.

Link copied to clipboard

An optional array of GPU driver bug workarounds.

Link copied to clipboard
val featureStatus: Map<String, JsonElement>? = null

An optional dictionary of graphics features and their status.

Link copied to clipboard

Supported accelerated video decoding capabilities.

Link copied to clipboard

Supported accelerated video encoding capabilities.