RenderTexture.ReleaseTemporary

Switch to Manual

Declaration

public static void ReleaseTemporary(RenderTexture temp);

Description

Release a temporary texture allocated with GetTemporary.

Later calls to GetTemporary 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: GetTemporary function.


Did you find this page useful? Please give it a rating: