文档

Unity Engine

Unity Engine

InvalidateState()

Invalidate the internally cached render state.
阅读时间1 分钟最后更新于 1 天前

Definition

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.