ドキュメント

Unity Engine

Unity Engine

oldRenderTexture

(Read Only) The value of RenderTexture.active at the time CreateRenderTargets is called.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public RenderTexture oldRenderTexture { get; }

Remarks

PaintContext.Cleanup uses this value to restore the active RenderTexture to its original value. In some cases, it may be necessary to manually restore the RenderTexture before calling Cleanup:
RenderTexture.active = PaintContext.oldRenderTexture;
Additional Resources: PaintContext, PaintContext.Cleanup