SystemInfo
- deviceModel
- deviceName
- deviceUniqueIdentifier
- graphicsDeviceID
- graphicsDeviceName
- graphicsDeviceVendorID
- graphicsDeviceVendor
- graphicsDeviceVersion
- graphicsMemorySize
- graphicsPixelFillrate
- graphicsShaderLevel
- operatingSystem
- processorCount
- processorType
- supportsImageEffects
- SupportsRenderTextureFormat
- supportsRenderTextures
- supportsShadows
- systemMemorySize
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