예제 #1
0
 public static void Release()
 {
     if (dispatch != null)
     {
         dispatch.Dispose();
     }
     dispatch = null;
 }
예제 #2
0
        public static void Initialize()
        {
            if (dispatch != null)
            {
                return;
            }
            dispatch = new MainDispatch();
            Action invocation = null;

            invocation = () => {
                GL.IssuePluginEvent(NatCamRenderDelegate(), 0x6723872);
                dispatch.Dispatch(invocation);
            };
            dispatch.Dispatch(invocation);
        }