InvalidateState()
Invalidate the internally cached render state.
阅读时间1 分钟最后更新于 1 个月前
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.