Class MacGraphicsCard

java.lang.Object
oshi.hardware.common.AbstractGraphicsCard
oshi.hardware.common.platform.mac.MacGraphicsCard
All Implemented Interfaces:
GraphicsCard

@ThreadSafe public abstract class MacGraphicsCard extends AbstractGraphicsCard
Graphics card info obtained by system_profiler SPDisplaysDataType.
  • Field Details

    • IS_APPLE_SILICON

      protected static final boolean IS_APPLE_SILICON
      Whether running on Apple Silicon.
  • Constructor Details

    • MacGraphicsCard

      protected MacGraphicsCard(String name, String deviceId, String vendor, String versionInfo, long vram)
      Creates a MacGraphicsCard.
      Parameters:
      name - the card name
      deviceId - the device ID
      vendor - the vendor
      versionInfo - the version info
      vram - the VRAM in bytes
  • Method Details