コード例 #1
0
ファイル: Glfw.cs プロジェクト: PlumpMath/GLFW-CS
    public static void SetWindowPosCallback(Window window, WindowPosFunc callback)
    {
        var ptr = Marshal.GetFunctionPointerForDelegate(callback);

        glfwSetWindowPosCallback(window.Ptr, ptr);
    }
コード例 #2
0
ファイル: GLFW.cs プロジェクト: MrBrixican/Foster
 public static extern WindowPosFunc SetWindowPosCallback(IntPtr window, WindowPosFunc callback);