기술 자료

Unity Engine

Unity Engine

ReleaseTemporaryRT(int)

Add a "release a temporary render texture" command.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void ReleaseTemporaryRT(int nameID)

Parameters

nameID

Shader property name for this texture.

Remarks

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.
Additional Resources: CommandBuffer.GetTemporaryRT.