# GetDoubleBufferRenderTexture()

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public RenderTexture GetDoubleBufferRenderTexture()
```

### Returns

| Type                                                                          | Description                                                                                                                                                                                                                                                                                                                                    |
| ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [RenderTexture](/engine/6000.0/script-reference/unityengine/rendertexture.md) | If [doubleBuffered](/engine/6000.0/script-reference/unityengine/customrendertexture/doublebuffered.md) is true, this returns the Render Texture that this Custom Render Texture uses for double buffering. If [doubleBuffered](/engine/6000.0/script-reference/unityengine/customrendertexture/doublebuffered.md) is false, this returns null. |

### Remarks

Use this if you are implementing your own Custom Render Texture update loop for a Custom Render Texture that is double buffered. Additional Resources: disableBuiltinCustomRenderTextures, [CustomRenderTexture.doubleBuffered](/engine/6000.0/script-reference/unityengine/customrendertexture/doublebuffered.md).
