# DestroyFeature(CommandBuffer, FSR2Context)

> Destroys a specific FSR2Context created with GraphicsDevice.CreateFeature.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AMD](/engine/6000.6/script-reference/unityengine/amd.md)
* **Assembly:** UnityEngine.AMDModule

```csharp
public void DestroyFeature(CommandBuffer cmd, FSR2Context fsrContext)
```

### Parameters

**** (\[CommandBuffer]\(/engine/6000.6/script-reference/unityengine/rendering/commandbuffer)): The rendering command buffer to record commands into. This call does not execute the command buffer. You must execute the command buffer yourself at any time after this call.**** (\[FSR2Context]\(/engine/6000.6/script-reference/unityengine/amd/fsr2context)): The command object to destroy.
