# onRequestRebuild

> (Editor Only) Event that gets fired whenever the data in the CanvasRenderer gets invalidated and needs to be rebuilt.

## Definition

* **Type:** Event
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public static event CanvasRenderer.OnRequestRebuild onRequestRebuild
```

### Remarks

For instance, whenever a Texture gets re-imported this event gets fired.
