# ImmediateRepaint()

> Invoked during the repaint phase.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.3/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
protected override void ImmediateRepaint()
```

### Remarks

Here it is safe to use any rendering calls using the immediate Graphics api, eg: Graphics.DrawTexture(contentRect, image); Graphics.DrawMesh, etc The current transform matrix is set up so (0,0) correspond to the top-left corner of the element. For IMGUI usage, please use the [IMGUIContainer](/engine/6000.3/script-reference/unityengine/uielements/imguicontainer.md) element.
