public static void SetWindowPosCallback(Window window, WindowPosFunc callback) { var ptr = Marshal.GetFunctionPointerForDelegate(callback); glfwSetWindowPosCallback(window.Ptr, ptr); }
public static extern WindowPosFunc SetWindowPosCallback(IntPtr window, WindowPosFunc callback);