기술 자료

Unity Engine

Unity Engine

InvalidateState()

Invalidate the internally cached render state.
읽는 시간 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.