Graphics

Raw interface to Unity's drawing functions.

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

Functions
DrawMesh

Draw a mesh.

DrawMeshNow

Draw a mesh immediately.

Class Variables
activeColorBuffer

Currently active color buffer (Read Only).

activeDepthBuffer

Currently active depth buffer (Read Only).

Class Functions
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

Set random write target for DX11 pixel shaders.

ClearRandomWriteTargets

Clear random write targets for DX11 pixel shaders.