# EnsureDoubleBufferConsistency()

> Updates the internal Render Texture that a Custom Render Texture uses for double buffering, so that it matches the size and format of the Custom Render Texture.

## Definition

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

```csharp
public void EnsureDoubleBufferConsistency()
```

### Remarks

Use this if you are implementing your own Custom Render Texture update loop for a Custom Render Texture that is double buffered. Unity does this automatically as part of the built-in Custom Render Texture update loop. Additional Resources: disableBuiltinCustomRenderTextures, [CustomRenderTexture.doubleBuffered](/engine/6000.6/script-reference/unityengine/customrendertexture/doublebuffered.md).
