CustomRenderTexture.GetDoubleBufferRenderTexture

Switch to Manual
public RenderTexture GetDoubleBufferRenderTexture ();

Returns

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.

Description

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 .