# UpdateSize(int, int)

> Update the internal buffers.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering.VirtualTexturing](/engine/6000.5/script-reference/unityengine/rendering/virtualtexturing.md)
* **Assembly:** UnityEngine.VirtualTexturingModule

```csharp
public void UpdateSize(int width, int height)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Width of the texture passed in during [Resolver.Process](/engine/6000.5/script-reference/unityengine/rendering/virtualtexturing/resolver/process.md).**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Height of the texture passed in during [Resolver.Process](/engine/6000.5/script-reference/unityengine/rendering/virtualtexturing/resolver/process.md).

### Remarks

This function is should be called whenever the resolution of the feedback texture changes.
