RemoveCommandBuffer(LightEvent, CommandBuffer)
Remove command buffer from execution at a specified place.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void RemoveCommandBuffer(LightEvent evt, CommandBuffer buffer)
Parameters
When to execute the command buffer during rendering.
The buffer to execute.
Remarks
RemoveCommandBufferImportant: This API is compatible only with the Built-In Render Pipeline.
Additional Resources: CommandBuffer, Light.RemoveCommandBuffers, Light.RemoveAllCommandBuffers, Light.AddCommandBuffer, Light.GetCommandBuffers.