public void AddMainThreadCallback(FrameUpdateCallback callback) { System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate <System.Delegate>(callback); { Interop.FrameCallback.FrameUpdateCallback_AddMainThreadCallback(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } } }
public void Activate() { frameUpdateCallback = new FrameUpdateCallback(); Initialize(); }