ドキュメント

Unity Engine

Unity Engine

graphicsDeviceName

The name of the graphics device (Read Only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static string graphicsDeviceName { get; }

Remarks

This is the name of user's graphics card, as reported by the graphics driver.
using UnityEngine;public class Example : MonoBehaviour{ void Start() { // Prints using the following format - "ATI Radeon X1600 OpenGL Engine" on MacBook Pro running Mac OS X 10.4.8 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.