# RemoveCommandBuffers(LightEvent)

> Remove command buffers from execution at a specified place.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void RemoveCommandBuffers(LightEvent evt)
```

### Parameters

**** (\[LightEvent]\(/engine/6000.7/script-reference/unityengine/rendering/lightevent)): 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.

Additional Resources: [CommandBuffer](/engine/6000.7/script-reference/unityengine/rendering/commandbuffer.md), [Light.RemoveCommandBuffer](/engine/6000.7/script-reference/unityengine/light/removecommandbuffer.md), [Light.RemoveAllCommandBuffers](/engine/6000.7/script-reference/unityengine/light/removeallcommandbuffers.md).
