기술 자료

Unity Engine

Unity Engine

ReleaseTemporary(RenderTexture)

Release a temporary texture allocated with RenderTexture.GetTemporary.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void ReleaseTemporary(RenderTexture temp)

Parameters

Remarks

Later calls to RenderTexture.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.
Additional Resources: RenderTexture.GetTemporary function.