struct Protocol::SystemInfo::GPUInfo
- Protocol::SystemInfo::GPUInfo
- Struct
- Value
- Object
Overview
Provides information about the GPU(s) on the system.
Included Modules
- JSON::Serializable
Defined in:
protocol/system_info.crConstructors
Instance Method Summary
-
#aux_attributes : JSON::Any | Nil
An optional dictionary of additional GPU related attributes.
-
#devices : Array(GPUDevice)
The graphics devices on the system.
-
#driver_bug_workarounds : Array(String)
An optional array of GPU driver bug workarounds.
-
#feature_status : JSON::Any | Nil
An optional dictionary of graphics features and their status.
-
#image_decoding : Array(ImageDecodeAcceleratorCapability)
Supported accelerated image decoding capabilities.
-
#video_decoding : Array(VideoDecodeAcceleratorCapability)
Supported accelerated video decoding capabilities.
-
#video_encoding : Array(VideoEncodeAcceleratorCapability)
Supported accelerated video encoding capabilities.
Constructor Detail
Instance Method Detail
The graphics devices on the system. Element 0 is the primary GPU.
def feature_status : JSON::Any | Nil
#
An optional dictionary of graphics features and their status.
def image_decoding : Array(ImageDecodeAcceleratorCapability)
#
Supported accelerated image decoding capabilities.
def video_decoding : Array(VideoDecodeAcceleratorCapability)
#
Supported accelerated video decoding capabilities.
def video_encoding : Array(VideoEncodeAcceleratorCapability)
#
Supported accelerated video encoding capabilities.