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);
最后修改:2011年3月18日 Friday 17:55

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。