Package oshi.hardware

Interface GraphicsCard

All Known Implementing Classes:
AbstractGraphicsCard

@Immutable public interface GraphicsCard

GraphicsCard interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the card's Device ID
    Retrieves the full name of the card.
    Retrieves the card's manufacturer/vendor
    Retrieves a list of version/revision data from the card.
    long
    Retrieves the Video RAM (VRAM) available on the GPU
  • Method Details

    • getName

      String getName()
      Retrieves the full name of the card.
      Returns:
      The name of the card.
    • getDeviceId

      String getDeviceId()
      Retrieves the card's Device ID
      Returns:
      The Device ID of the card
    • getVendor

      String getVendor()
      Retrieves the card's manufacturer/vendor
      Returns:
      The vendor of the card as human-readable text if possible, or the Vendor ID (VID) otherwise
    • getVersionInfo

      String getVersionInfo()
      Retrieves a list of version/revision data from the card. Users may need to further parse this list to identify specific GPU capabilities.
      Returns:
      A comma-delimited list of version/revision data
    • getVRam

      long getVRam()
      Retrieves the Video RAM (VRAM) available on the GPU
      Returns:
      Total number of bytes.