Raw 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). |
activeColorGamut | Returns the currently active color gamut. |
activeDepthBuffer | Currently active depth/stencil buffer (Read Only). |
activeTier | Graphics Tier classification for current device. Changing this value affects any subsequently loaded shaders. Initially this value is auto-detected from the hardware in use. |
preserveFramebufferAlpha | True when rendering over native UI is enabled in Player Settings (readonly). |
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 4.5 level pixel shaders. |
ConvertTexture | This function provides an efficient way to convert between textures of different formats and dimensions. The destination texture format should be uncompressed and correspond to a supported RenderTextureFormat. |
CopyTexture | Copy texture contents. |
CreateAsyncGraphicsFence | Shortcut for calling Graphics.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronization as the first parameter. |
CreateGraphicsFence | Creates a GraphicsFence which will be passed after the last Blit, Clear, Draw, Dispatch or Texture Copy command prior to this call has been completed on the GPU. |
DrawMesh | Draw a mesh. |
DrawMeshInstanced | Draw the same mesh multiple times using GPU instancing. |
DrawMeshInstancedIndirect | Draw the same mesh multiple times using GPU instancing. |
DrawMeshInstancedProcedural | Draw the same mesh multiple times using GPU instancing. This is similar to Graphics.DrawMeshInstancedIndirect, except when the instance count is known from script, it can be supplied directly using this method, rather than via a ComputeBuffer. |
DrawMeshNow | Draw a mesh immediately. |
DrawProcedural | Draws procedural geometry on the GPU. |
DrawProceduralIndirect | Draws procedural geometry on the GPU. |
DrawProceduralIndirectNow | Draws procedural geometry on the GPU. |
DrawProceduralNow | Draws procedural geometry on the GPU. |
DrawTexture | Draw a texture in screen coordinates. |
ExecuteCommandBuffer | Execute a command buffer. |
ExecuteCommandBufferAsync | Executes a command buffer on an async compute queue with the queue selected based on the ComputeQueueType parameter passed. |
SetRandomWriteTarget | Set random write target for Shader Model 4.5 level pixel shaders. |
SetRenderTarget | Sets current render target. |
WaitOnAsyncGraphicsFence | Instructs the GPU's processing of the graphics queue to wait until the given GraphicsFence is passed. |