Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


graphicsDeviceID

The identifier code of the graphics device (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static int graphicsDeviceID { get; }

Remarks

This is the PCI device ID of the user's graphics card. Together with SystemInfo.graphicsDeviceVendorID, this number uniquely identifies a particular graphics card model. The number is the same across operating systems and driver versions.
Note that device IDs are only implemented on PC (Windows/Mac/Linux) platforms and on Android when running Vulkan; on other platforms you'll have to do name-based detection if needed.
See pci-ids.ucw.cz for a list of device IDs.