public static extern int QueueGLEvent(GLEvent func);
// -------------------------------------------------------------------------------------------------------------------------------------------------- // Interface Communication // -------------------------------------------------------------------------------------------------------------------------------------------------- public static void SetFunc_InterfaceShutdown(GLEvent callback) { IntPtr callback_ptr = Marshal.GetFunctionPointerForDelegate(callback); SetFunc_InterfaceShutdown(callback_ptr); }