RenderTexture.ReleaseTemporary Manual     Reference     Scripting  
Scripting > Runtime Classes > RenderTexture
RenderTexture.ReleaseTemporary

static function ReleaseTemporary (temp : RenderTexture) : void

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.