Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveCommandBuffers(LightEvent)

Remove command buffers from execution at a specified place.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void RemoveCommandBuffers(LightEvent evt)

Parameters

When to execute the command buffer during rendering.

Remarks

This function removes all command buffers set on the specified light event.
Important: This API is compatible only with the Built-In Render Pipeline.