SystemInfo.graphicsDeviceVendor 显卡厂商

static var graphicsDeviceVendor : 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.

参见:SystemInfo.graphicsDeviceName, SystemInfo.graphicsDeviceVersion.

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		print(SystemInfo.graphicsDeviceVendor);
	}
}
// Prints "ATI Technologies Inc." on MacBook Pro running OS X 10.4.8
//打印显卡的厂商

print (SystemInfo.graphicsDeviceVendor);
Page last updated: 2011-3-18