Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseRaw interface to Unity's drawing functions.
This is the high-level shortcut into the optimized mesh drawing functionality of Unity.
activeColorBuffer | Currently active color buffer (Read Only). |
activeDepthBuffer | Currently active depth/stencil buffer (Read Only). |
Blit | Copies source texture into destination render texture with a shader. |
BlitMultiTap | Copies source texture into destination, for multi-tap shader. |
ClearRandomWriteTargets | Clear random write targets for Shader Model 5.0 level pixel shaders. |
CopyTexture | Copy texture contents. |
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. |
ExecuteCommandBuffer | Execute a command buffer. |
SetRandomWriteTarget | Set random write target for Shader Model 5.0 level pixel shaders. |
SetRenderTarget | Sets current render target. |