Version: 2023.2

CustomRenderTexture.GetDoubleBufferRenderTexture

切换到手册
public RenderTexture GetDoubleBufferRenderTexture ();

返回

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

描述

Gets the Render Texture that this Custom Render Texture uses for double buffering.

Use this if you are implementing your own Custom Render Texture update loop for a Custom Render Texture that is double buffered. Additional resources: Rendering.GraphicsSettings.disableBuiltinCustomRenderTextures, CustomRenderTexture.doubleBuffered.