Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveCommandBuffer(LightEvent, CommandBuffer)

Remove command buffer from execution at a specified place.
Read time 1 minuteLast updated 6 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

If the same buffer is added multiple times on this light event, all occurrences of it will be removed.