Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SystemInfo.graphicsPixelFillrate

static var graphicsPixelFillrate: int;
static int graphicsPixelFillrate;
static graphicsPixelFillrate as 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.

See Also: SystemInfo.graphicsShaderLevel.

	// Prints "3800" on GeForce 8600M GT (3800 MPix/s)

print (SystemInfo.graphicsPixelFillrate);

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        print(SystemInfo.graphicsPixelFillrate);
    }
}
import UnityEngine
import System.Collections

public class ExampleClass(MonoBehaviour):

	def Example() as void:
		print(SystemInfo.graphicsPixelFillrate)