RenderTexture.ReleaseTemporary 释放临时渲染纹理

static function ReleaseTemporary (temp : RenderTexture) : void

Description描述

Release a temporary texture allocated with GetTemporary.

释放一个由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.

如果可能,后来调用GetTemporary将重用前面创建的RenderTexture,当没有请求临时RenderTexture时,几帧后它将被销毁。

Page last updated: 2011-3-15