Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


graphicsDeviceVendorID

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

Definition

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

Remarks

This is the PCI vendor ID of the user's graphics card. This number uniquely identifies a particular graphics card maker. 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 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 vendor IDs.