Version: 2017.2

CommandBuffer.ReleaseTemporaryRT

Cambiar al Manual
public void ReleaseTemporaryRT (int nameID);

Parámetros

nameID Shader property name for this texture.

Descripción

Add a "release a temporary render texture" command.

Releases a temporary render texture with given name. Presumably you have called ::GetTemporaryRT to create it before.

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

See Also: GetTemporaryRT.