Class VideoController

java.lang.Object
io.github.eggy03.ferrumx.windows.entity.display.VideoController

public class VideoController extends Object
Immutable representation of a GPU device on a Windows system.

Fields correspond to properties retrieved from the Win32_VideoController WMI class.

Instances are inherently thread-safe and may be safely cached or shared across threads.

Usage example


 // Build a new VideoController instance
 VideoController gpu = VideoController.builder()
     .deviceId("GPU1")
     .name("NVIDIA GeForce RTX")
     .currentRefreshRate(60)
     .build();

 // Modify using toBuilder (copy-on-write)
 VideoController updated = gpu.toBuilder()
     .currentRefreshRate(144)
     .build();
 
Since:
2.0.0
Author:
Egg-03
See Also:
  • Constructor Details

    • VideoController

      public VideoController()
  • Method Details