# ReleaseTemporary(RenderTexture)

> Release a temporary texture allocated with RenderTexture.GetTemporary.

## Definition

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

```csharp
public static void ReleaseTemporary(RenderTexture temp)
```

### Parameters

**** (\[RenderTexture]\(/engine/6000.0/script-reference/unityengine/rendertexture)):&#x20;

### Remarks

Later calls to [RenderTexture.GetTemporary](/engine/6000.0/script-reference/unityengine/rendertexture/gettemporary.md) will reuse the RenderTexture created earlier if possible. When no one has requested the temporary RenderTexture for a few frames it will be destroyed.

Additional Resources: [RenderTexture.GetTemporary](/engine/6000.0/script-reference/unityengine/rendertexture/gettemporary.md) function.
