public override bool Equals(object obj) { if (obj is WindowPtr) { WindowPtr other = (WindowPtr)obj; return(this == other); } return(false); }
internal static extern int glfwGetWindowAttrib(WindowPtr window, int param);
internal static extern void glfwHideWindow(WindowPtr window);
internal static extern void glfwSetWindowSize(WindowPtr window, int width, int height);
internal static extern void glfwSetWindowTitle(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string title);
internal static extern WindowPtr glfwCreateWindow(int width, int height, [MarshalAs(UnmanagedType.LPStr)] string title, MonitorPtr monitor, WindowPtr share);
internal static extern void glfwMakeContextCurrent(WindowPtr window);
internal static extern GlfwCursorEnterFun glfwSetCursorEnterCallback(WindowPtr window, GlfwCursorEnterFun cbfun);
internal static extern int glfwGetInputMode(WindowPtr window, InputMode mode);
internal static extern GlfwWindowIconifyFun glfwSetWindowIconifyCallback(WindowPtr window, GlfwWindowIconifyFun cbfun);
internal static extern GlfwWindowFocusFun glfwSetWindowFocusCallback(WindowPtr window, GlfwWindowFocusFun cbfun);
internal static extern GlfwWindowRefreshFun glfwSetWindowRefreshCallback(WindowPtr window, GlfwWindowRefreshFun cbfun);
internal static extern GlfwWindowCloseFun glfwSetWindowCloseCallback(WindowPtr window, GlfwWindowCloseFun cbfun);
internal static extern IntPtr glfwGetWindowUserPointer(WindowPtr window);
internal static extern void glfwSetWindowUserPointer(WindowPtr window, IntPtr pointer);
internal static extern void glfwSetCursorPos(WindowPtr window, double xpos, double ypos);
internal static extern GlfwCharFun glfwSetCharCallback(WindowPtr window, GlfwCharFun cbfun);
internal static extern void glfwSetInputMode(WindowPtr window, InputMode mode, CursorMode value);
internal static extern void glfwSetClipboardString(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string @string);
internal static extern int glfwGetKey(WindowPtr window, Key key);
internal static extern void glfwGetFramebufferSize(WindowPtr window, out int width, out int height);
internal static extern int glfwGetMouseButton(WindowPtr window, MouseButton button);
internal static extern int glfwWindowShouldClose(WindowPtr window);
internal static extern void glfwSetWindowPos(WindowPtr window, int xpos, int ypos);
internal static extern GlfwKeyFun glfwSetKeyCallback(WindowPtr window, GlfwKeyFun cbfun);
internal static extern void glfwRestoreWindow(WindowPtr window);
internal static extern GlfwMouseButtonFun glfwSetMouseButtonCallback(WindowPtr window, GlfwMouseButtonFun cbfun);
internal static extern GlfwScrollFun glfwSetScrollCallback(WindowPtr window, GlfwScrollFun cbfun);
internal static extern IntPtr glfwGetClipboardString(WindowPtr window);
internal static extern void glfwSwapBuffers(WindowPtr window);
internal static extern GlfwFramebufferSizeFun glfwSetFramebufferSizeCallback(WindowPtr window, GlfwFramebufferSizeFun cbfun);
internal static extern void glfwDestroyWindow(WindowPtr window);
internal static extern void glfwSetWindowShouldClose(WindowPtr window, int value);
internal static extern void glfwGetWindowPos(WindowPtr window, out int xpos, out int ypos);
internal static extern void glfwGetWindowSize(WindowPtr window, out int width, out int height);
internal static extern void glfwIconifyWindow(WindowPtr window);
internal static extern void glfwShowWindow(WindowPtr window);
internal static extern MonitorPtr glfwGetWindowMonitor(WindowPtr window);