java.lang.Object
oshi.hardware.common.AbstractGraphicsCard
- All Implemented Interfaces:
GraphicsCard
An abstract Sound Card
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractGraphicsCard
(String name, String deviceId, String vendor, String versionInfo, long vram) Constructor for AbstractGraphicsCard -
Method Summary
-
Constructor Details
-
Method Details
-
getName
Description copied from interface:GraphicsCard
Retrieves the full name of the card.- Specified by:
getName
in interfaceGraphicsCard
- Returns:
- The name of the card.
-
getDeviceId
Description copied from interface:GraphicsCard
Retrieves the card's Device ID- Specified by:
getDeviceId
in interfaceGraphicsCard
- Returns:
- The Device ID of the card
-
getVendor
Description copied from interface:GraphicsCard
Retrieves the card's manufacturer/vendor- Specified by:
getVendor
in interfaceGraphicsCard
- Returns:
- The vendor of the card as human-readable text if possible, or the Vendor ID (VID) otherwise
-
getVersionInfo
Description copied from interface:GraphicsCard
Retrieves a list of version/revision data from the card. Users may need to further parse this list to identify specific GPU capabilities.- Specified by:
getVersionInfo
in interfaceGraphicsCard
- Returns:
- A comma-delimited list of version/revision data
-
getVRam
public long getVRam()Description copied from interface:GraphicsCard
Retrieves the Video RAM (VRAM) available on the GPU- Specified by:
getVRam
in interfaceGraphicsCard
- Returns:
- Total number of bytes.
-
toString
-