Version: 2021.1

CustomRenderTexture.GetDoubleBufferRenderTexture

切换到手册
public RenderTexture GetDoubleBufferRenderTexture ();

返回

RenderTexture If CustomRenderTexture. doubleBuffered is true, this returns the RenderTexture that this CustomRenderTexture uses for double buffering. If CustomRenderTexture. doubleBuffered is false, this returns null.

描述

Gets the RenderTexture that this CustomRenderTexture uses for double buffering.

Use this if you are implementing your own CustomRenderTexture update loop for a CustomRenderTexture that is double buffered.

See Also: Rendering.GraphicsSettings.disableBuiltinCustomRenderTextures, CustomRenderTexture.doubleBuffered .