Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

SystemInfo.graphicsDeviceVendor

static var graphicsDeviceVendor: string;
static string graphicsDeviceVendor;
static graphicsDeviceVendor as string

Description

The vendor of the graphics device (Read Only).

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

See Also: SystemInfo.graphicsDeviceName, SystemInfo.graphicsDeviceVersion.

	// Prints "ATI Technologies Inc." on MacBook Pro running OS X 10.4.8

print (SystemInfo.graphicsDeviceVendor);

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        print(SystemInfo.graphicsDeviceVendor);
    }
}
import UnityEngine
import System.Collections

public class ExampleClass(MonoBehaviour):

	def Example() as void:
		print(SystemInfo.graphicsDeviceVendor)