Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InvalidateState()

Invalidate the internally cached render state.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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.