# textureUnloaded

> Unity raises this event when it unloads a CustomRenderTexture.

## Definition

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

```csharp
public static event Action<CustomRenderTexture> textureUnloaded
```

### Remarks

Use this event to keep track of CustomRenderTexture unloading. This is useful if you are writing your own CustomRenderTexture update loop.

Additional Resources: disableBuiltinCustomRenderTextures.
