SystemInfo.graphicsDeviceVersion Manual     Reference     Scripting  
Scripting > Runtime Classes > SystemInfo
SystemInfo.graphicsDeviceVersion

static var graphicsDeviceVersion : string

Description

The graphics API version supported by the graphics device (Read Only).

This is the low-level graphics API version supported by the user's graphics card.

In case of OpenGL API, the returned string will contain "OpenGL" followed by version in "major.minor" format, followed by full version string in square brackets.

In case of Direct3D9 API, the returned string will contain "Direct3D 9.0c" followed by driver name and version in square brackets. See Also: SystemInfo.graphicsDeviceName, SystemInfo.graphicsDeviceVendor.

JavaScripts
// Prints "OpenGL 2.0 [2.0 ATI-1.4.40]" on MacBook Pro / OS X 10.4.8
// Prints "Direct3D 9.0c [atiumdag.dll 7.14.10.471]" on MacBook Pro / Windows Vista

print (SystemInfo.graphicsDeviceVersion);

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
print(SystemInfo.graphicsDeviceVersion);
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
print(SystemInfo.graphicsDeviceVersion)