Version: 2021.1
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

PaintContext.oldRenderTexture

マニュアルに切り替える
public RenderTexture oldRenderTexture ;

説明

(Read Only) The value of RenderTexture.active at the time CreateRenderTargets is called.

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;


See Also: PaintContext, PaintContext.Cleanup