Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SystemInfo.graphicsDeviceName

public static string graphicsDeviceName;

Description

The name of the graphics device (Read Only).

This is the name of user's graphics card, as reported by the graphics driver.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print(SystemInfo.graphicsDeviceName); } }

Note that the same graphics card can be reported by different names depending on the operating system, driver and so on. If you want to reliably identify some specific card, use SystemInfo.graphicsDeviceID SystemInfo.graphicsDeviceVendorID.

See Also: SystemInfo.graphicsDeviceID, SystemInfo.graphicsDeviceVendor, SystemInfo.graphicsDeviceVersion.