Version: 5.4

Graphics

class in UnityEngine

Cambiar al Manual

Descripción

Raw interface to Unity's drawing functions.

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

Variables Estáticas

activeColorBufferCurrently active color buffer (Read Only).
activeDepthBufferCurrently active depth/stencil buffer (Read Only).

Funciones Estáticas

BlitCopies source texture into destination render texture with a shader.
BlitMultiTapCopies source texture into destination, for multi-tap shader.
ClearRandomWriteTargetsClear random write targets for Shader Model 5.0 level pixel shaders.
CopyTextureCopy texture contents.
DrawMeshDraw a mesh.
DrawMeshNowDraw a mesh immediately.
DrawProceduralDraws a fully procedural geometry on the GPU.
DrawProceduralIndirectDraws a fully procedural geometry on the GPU.
DrawTextureDraw a texture in screen coordinates.
ExecuteCommandBufferExecute a command buffer.
SetRandomWriteTargetSet random write target for Shader Model 5.0 level pixel shaders.
SetRenderTargetSets current render target.