Graphics Manual     Reference     Scripting  
Scripting > Runtime Classes > Graphics
Graphics

Raw interface to Unity's drawing functions.

This is the high-level shortcut into the optimized mesh drawing functionality of Unity. Unity Pro only.

Class Variables
activeColorBuffer

Currently active color buffer (Read Only).

activeDepthBuffer

Currently active depth buffer (Read Only).

Class Functions
DrawMesh

Draw a mesh.

DrawMeshNow

Draw a mesh immediately.

DrawTexture

Draw a texture in screen coordinates.

Blit

Copies source texture into destination render texture.

BlitMultiTap

Copies source texture into destination, for multi-tap shader.

SetRenderTarget

Sets current render target.