Graphics

Raw interface to Unity's drawing functions.

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

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.

DrawProcedural

Draws a fully procedural geometry on the GPU.

DrawProceduralIndirect

Draws a fully procedural geometry on the GPU.

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.

SetRandomWriteTarget

ClearRandomWriteTargets