# CommandBufferExtensions

> Static class providing extension methods for CommandBuffer.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static class CommandBufferExtensions
```

## Remarks

The extension methods in this class can directly be used on an [CommandBuffer](/engine/6000.5/script-reference/unityengine/rendering/commandbuffer.md).

## Static Methods

| Method                                                                                                                          | Description                                                          |
| ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [SwitchIntoFastMemory](/engine/6000.5/script-reference/unityengine/rendering/commandbufferextensions/switchintofastmemory.md)   | Adds a command to put a given render target into fast GPU memory.    |
| [SwitchOutOfFastMemory](/engine/6000.5/script-reference/unityengine/rendering/commandbufferextensions/switchoutoffastmemory.md) | Adds a command to remove a given render target from fast GPU memory. |
