Class Win32VideoController
java.lang.Object
io.github.eggy03.ferrumx.windows.entity.display.Win32VideoController
Immutable representation of a GPU device on a Windows system.
Fields correspond to properties retrieved from the Win32_VideoController WMI class.
Hardware that is not compatible with Windows Display Driver Model (WDDM) returns inaccurate property values for instances of this class.
Usage example
// Build a new instance
Win32VideoController gpu = Win32VideoController.builder()
.deviceId("GPU1")
.name("AMD Radeon HD 5450")
.currentRefreshRate(60)
.build();
// Modify using toBuilder (copy-on-write)
Win32VideoController updated = gpu.toBuilder()
.currentRefreshRate(144)
.build();
- Since:
- 3.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) @Nullable StringName or identifier of the digital-to-analog converter (DAC) chip.(package private) @Nullable LongMemory size of the video adapter in bytes.(package private) @Nullable IntegerNumber of bits used to display each pixel.(package private) @Nullable IntegerCurrent number of horizontal pixels.(package private) @Nullable IntegerFrequency at which the video controller refreshes the image for the monitor.(package private) @Nullable IntegerCurrent number of vertical pixels.(package private) @Nullable StringIdentifier (unique to the computer system) for this video controller.(package private) @Nullable StringLast modification date and time of the currently installed video driver.(package private) @Nullable StringVersion number of the video driver.(package private) @Nullable IntegerMaximum refresh rate of the video controller in hertz.(package private) @Nullable IntegerMinimum refresh rate of the video controller in hertz.(package private) @Nullable StringLabel by which the video controller is known.(package private) @Nullable StringWindows Plug and Play device identifier of the video controller.(package private) @Nullable StringFree-form string describing the video processor. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
deviceId
Identifier (unique to the computer system) for this video controller. -
name
Label by which the video controller is known. -
pnpDeviceId
Windows Plug and Play device identifier of the video controller.Example: "*PNP030b"
-
currentBitsPerPixel
Number of bits used to display each pixel. -
currentHorizontalResolution
@SerializedName("CurrentHorizontalResolution") @Nullable @Nullable Integer currentHorizontalResolutionCurrent number of horizontal pixels. -
currentVerticalResolution
Current number of vertical pixels. -
currentRefreshRate
Frequency at which the video controller refreshes the image for the monitor. -
maxRefreshRate
Maximum refresh rate of the video controller in hertz. -
minRefreshRate
Minimum refresh rate of the video controller in hertz. -
adapterDacType
Name or identifier of the digital-to-analog converter (DAC) chip. The character set of this property is alphanumeric. -
adapterRam
Memory size of the video adapter in bytes.Example: 64000
-
driverDate
Last modification date and time of the currently installed video driver. -
driverVersion
Version number of the video driver. -
videoProcessor
Free-form string describing the video processor.Example
AMD Radeon HD 5450
-
-
Constructor Details
-
Win32VideoController
public Win32VideoController()
-
-
Method Details
-
toString
-