Package oshi.hardware.platform.mac
Class MacGraphicsCard
java.lang.Object
oshi.hardware.common.AbstractGraphicsCard
oshi.hardware.platform.mac.MacGraphicsCard
- All Implemented Interfaces:
GraphicsCard
Graphics card info obtained by system_profiler SPDisplaysDataType.
-
Constructor Summary
ConstructorsConstructorDescriptionMacGraphicsCard
(String name, String deviceId, String vendor, String versionInfo, long vram) Constructor for MacGraphicsCard -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<GraphicsCard> public method used byAbstractHardwareAbstractionLayer
to access the graphics cards.Methods inherited from class oshi.hardware.common.AbstractGraphicsCard
getDeviceId, getName, getVendor, getVersionInfo, getVRam, toString
-
Constructor Details
-
MacGraphicsCard
Constructor for MacGraphicsCard- Parameters:
name
- The namedeviceId
- The device IDvendor
- The vendorversionInfo
- The version infovram
- The VRAM
-
-
Method Details
-
getGraphicsCards
public method used byAbstractHardwareAbstractionLayer
to access the graphics cards.- Returns:
- List of
MacGraphicsCard
objects.
-