SystemInfo.graphicsPixelFillrate 显卡像素填充率

static var graphicsPixelFillrate : int

Description描述

Approximate pixel fill-rate of the graphics device (Read Only).

显卡的近似​​像素填充率。(只读)

Returns pixel fill-rate in megapixels/second, or -1 if fillrate of the device is not known.

以百万像素/秒,返回显卡像素填充率,或-1,如果显卡是未知的填充率。

参见: SystemInfo.graphicsShaderLevel.

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
public void Awake() {
print(SystemInfo.graphicsPixelFillrate);
}
}
// Prints "3800" on GeForce 8600M GT (3800 MPix/s)

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