# InvalidateState()

> Invalidate the internally cached render state.

## Definition

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

```csharp
public static void InvalidateState()
```

### Remarks

This invalidates any cached render state tied to the active graphics API. If for example a (native) plugin alters the render state settings then Unity's rendering engine must be made aware of that.

Additional Resources: [GL.IssuePluginEvent](/engine/6000.3/script-reference/unityengine/gl/issuepluginevent.md).
