Exemplo n.º 1
0
    public static void SetWindowPosCallback(Window window, WindowPosFunc callback)
    {
        var ptr = Marshal.GetFunctionPointerForDelegate(callback);

        glfwSetWindowPosCallback(window.Ptr, ptr);
    }
Exemplo n.º 2
0
 public static extern WindowPosFunc SetWindowPosCallback(IntPtr window, WindowPosFunc callback);