public void ReleaseTemporaryRT (int nameID);

Parameters

nameID此纹理的着色器属性名称。

Description

添加“释放临时渲染纹理”命令。

释放具有给定名称的临时渲染纹理。假定该渲染纹理之前通过调用 ::GetTemporaryRT 创建。

Any temporary textures that were not explicitly released will be removed after camera is done rendering, or after Graphics.ExecuteCommandBuffer is done.

另请参阅:GetTemporaryRT