Пример #1
0
 public void ServoUnityCleanupRenderer(int windowIndex)
 {
     // Rather than calling ServoUnityPlugin_pinvoke.servoUnityCleanupRenderer(windowIndex)
     // directly, make sure the call runs on the rendering thread.
     ServoUnityPlugin_pinvoke.servoUnitySetRenderEventFunc2Param(windowIndex);
     GL.IssuePluginEvent(ServoUnityPlugin_pinvoke.GetRenderEventFunc(), 2);
     GL.InvalidateState();
 }