textureUnloaded
Unity raises this event when it unloads a CustomRenderTexture.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Event
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
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.