|
|
|
@ -742,7 +742,7 @@ extern "C" { |
|
|
|
|
* without forcing a cast from a regular pointer. |
|
|
|
|
* |
|
|
|
|
* @sa @ref context_glext |
|
|
|
|
* @sa glfwGetProcAddress |
|
|
|
|
* @sa @ref glfwGetProcAddress |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
|
|
|
|
@ -756,7 +756,7 @@ typedef void (*GLFWglproc)(void); |
|
|
|
|
* without forcing a cast from a regular pointer. |
|
|
|
|
* |
|
|
|
|
* @sa @ref vulkan_proc |
|
|
|
|
* @sa glfwGetInstanceProcAddress |
|
|
|
|
* @sa @ref glfwGetInstanceProcAddress |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -808,7 +808,7 @@ typedef struct GLFWcursor GLFWcursor; |
|
|
|
|
* @param[in] description A UTF-8 encoded string describing the error. |
|
|
|
|
* |
|
|
|
|
* @sa @ref error_handling |
|
|
|
|
* @sa glfwSetErrorCallback |
|
|
|
|
* @sa @ref glfwSetErrorCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -827,7 +827,7 @@ typedef void (* GLFWerrorfun)(int,const char*); |
|
|
|
|
* upper-left corner of the client area of the window. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_pos |
|
|
|
|
* @sa glfwSetWindowPosCallback |
|
|
|
|
* @sa @ref glfwSetWindowPosCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -844,7 +844,7 @@ typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int); |
|
|
|
|
* @param[in] height The new height, in screen coordinates, of the window. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_size |
|
|
|
|
* @sa glfwSetWindowSizeCallback |
|
|
|
|
* @sa @ref glfwSetWindowSizeCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -860,7 +860,7 @@ typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int); |
|
|
|
|
* @param[in] window The window that the user attempted to close. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_close |
|
|
|
|
* @sa glfwSetWindowCloseCallback |
|
|
|
|
* @sa @ref glfwSetWindowCloseCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 2.5. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -876,7 +876,7 @@ typedef void (* GLFWwindowclosefun)(GLFWwindow*); |
|
|
|
|
* @param[in] window The window whose content needs to be refreshed. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_refresh |
|
|
|
|
* @sa glfwSetWindowRefreshCallback |
|
|
|
|
* @sa @ref glfwSetWindowRefreshCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 2.5. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -894,7 +894,7 @@ typedef void (* GLFWwindowrefreshfun)(GLFWwindow*); |
|
|
|
|
* `GLFW_FALSE` if it lost it. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_focus |
|
|
|
|
* @sa glfwSetWindowFocusCallback |
|
|
|
|
* @sa @ref glfwSetWindowFocusCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -912,7 +912,7 @@ typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int); |
|
|
|
|
* `GLFW_FALSE` if it was restored. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_iconify |
|
|
|
|
* @sa glfwSetWindowIconifyCallback |
|
|
|
|
* @sa @ref glfwSetWindowIconifyCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -930,7 +930,7 @@ typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int); |
|
|
|
|
* @param[in] height The new height, in pixels, of the framebuffer. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_fbsize |
|
|
|
|
* @sa glfwSetFramebufferSizeCallback |
|
|
|
|
* @sa @ref glfwSetFramebufferSizeCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -950,7 +950,7 @@ typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int); |
|
|
|
|
* held down. |
|
|
|
|
* |
|
|
|
|
* @sa @ref input_mouse_button |
|
|
|
|
* @sa glfwSetMouseButtonCallback |
|
|
|
|
* @sa @ref glfwSetMouseButtonCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle and modifier mask parameters. |
|
|
|
@ -970,7 +970,7 @@ typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int); |
|
|
|
|
* client area. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_pos |
|
|
|
|
* @sa glfwSetCursorPosCallback |
|
|
|
|
* @sa @ref glfwSetCursorPosCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `GLFWmouseposfun`. |
|
|
|
|
* |
|
|
|
@ -987,7 +987,7 @@ typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double); |
|
|
|
|
* area, or `GLFW_FALSE` if it left it. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_enter |
|
|
|
|
* @sa glfwSetCursorEnterCallback |
|
|
|
|
* @sa @ref glfwSetCursorEnterCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1004,7 +1004,7 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int); |
|
|
|
|
* @param[in] yoffset The scroll offset along the y-axis. |
|
|
|
|
* |
|
|
|
|
* @sa @ref scrolling |
|
|
|
|
* @sa glfwSetScrollCallback |
|
|
|
|
* @sa @ref glfwSetScrollCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `GLFWmousewheelfun`. |
|
|
|
|
* |
|
|
|
@ -1024,7 +1024,7 @@ typedef void (* GLFWscrollfun)(GLFWwindow*,double,double); |
|
|
|
|
* held down. |
|
|
|
|
* |
|
|
|
|
* @sa @ref input_key |
|
|
|
|
* @sa glfwSetKeyCallback |
|
|
|
|
* @sa @ref glfwSetKeyCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle, scancode and modifier mask parameters. |
|
|
|
@ -1041,7 +1041,7 @@ typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int); |
|
|
|
|
* @param[in] codepoint The Unicode code point of the character. |
|
|
|
|
* |
|
|
|
|
* @sa @ref input_char |
|
|
|
|
* @sa glfwSetCharCallback |
|
|
|
|
* @sa @ref glfwSetCharCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 2.4. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -1063,7 +1063,7 @@ typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int); |
|
|
|
|
* held down. |
|
|
|
|
* |
|
|
|
|
* @sa @ref input_char |
|
|
|
|
* @sa glfwSetCharModsCallback |
|
|
|
|
* @sa @ref glfwSetCharModsCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.1. |
|
|
|
|
* |
|
|
|
@ -1080,7 +1080,7 @@ typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int); |
|
|
|
|
* @param[in] paths The UTF-8 encoded file and/or directory path names. |
|
|
|
|
* |
|
|
|
|
* @sa @ref path_drop |
|
|
|
|
* @sa glfwSetDropCallback |
|
|
|
|
* @sa @ref glfwSetDropCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.1. |
|
|
|
|
* |
|
|
|
@ -1096,7 +1096,7 @@ typedef void (* GLFWdropfun)(GLFWwindow*,int,const char**); |
|
|
|
|
* @param[in] event One of `GLFW_CONNECTED` or `GLFW_DISCONNECTED`. |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_event |
|
|
|
|
* @sa glfwSetMonitorCallback |
|
|
|
|
* @sa @ref glfwSetMonitorCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1113,7 +1113,7 @@ typedef void (* GLFWmonitorfun)(GLFWmonitor*,int); |
|
|
|
|
* @param[in] event One of `GLFW_CONNECTED` or `GLFW_DISCONNECTED`. |
|
|
|
|
* |
|
|
|
|
* @sa @ref joystick_event |
|
|
|
|
* @sa glfwSetJoystickCallback |
|
|
|
|
* @sa @ref glfwSetJoystickCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -1126,7 +1126,8 @@ typedef void (* GLFWjoystickfun)(int,int); |
|
|
|
|
* This describes a single video mode. |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_modes |
|
|
|
|
* @sa glfwGetVideoMode glfwGetVideoModes |
|
|
|
|
* @sa @ref glfwGetVideoMode |
|
|
|
|
* @sa @ref glfwGetVideoModes |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added refresh rate member. |
|
|
|
@ -1160,7 +1161,8 @@ typedef struct GLFWvidmode |
|
|
|
|
* This describes the gamma ramp for a monitor. |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_gamma |
|
|
|
|
* @sa glfwGetGammaRamp glfwSetGammaRamp |
|
|
|
|
* @sa @ref glfwGetGammaRamp |
|
|
|
|
* @sa @ref glfwSetGammaRamp |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1234,7 +1236,7 @@ typedef struct GLFWimage |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref intro_init |
|
|
|
|
* @sa glfwTerminate |
|
|
|
|
* @sa @ref glfwTerminate |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -1266,7 +1268,7 @@ GLFWAPI int glfwInit(void); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref intro_init |
|
|
|
|
* @sa glfwInit |
|
|
|
|
* @sa @ref glfwInit |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -1293,7 +1295,7 @@ GLFWAPI void glfwTerminate(void); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref intro_version |
|
|
|
|
* @sa glfwGetVersionString |
|
|
|
|
* @sa @ref glfwGetVersionString |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -1324,7 +1326,7 @@ GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref intro_version |
|
|
|
|
* @sa glfwGetVersion |
|
|
|
|
* @sa @ref glfwGetVersion |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1387,7 +1389,7 @@ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun); |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_monitors |
|
|
|
|
* @sa @ref monitor_event |
|
|
|
|
* @sa glfwGetPrimaryMonitor |
|
|
|
|
* @sa @ref glfwGetPrimaryMonitor |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1411,7 +1413,7 @@ GLFWAPI GLFWmonitor** glfwGetMonitors(int* count); |
|
|
|
|
* glfwGetMonitors. |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_monitors |
|
|
|
|
* @sa glfwGetMonitors |
|
|
|
|
* @sa @ref glfwGetMonitors |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1551,7 +1553,7 @@ GLFWAPI GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_modes |
|
|
|
|
* @sa glfwGetVideoMode |
|
|
|
|
* @sa @ref glfwGetVideoMode |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Changed to return an array of modes for a specific monitor. |
|
|
|
@ -1580,7 +1582,7 @@ GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* monitor, int* count); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref monitor_modes |
|
|
|
|
* @sa glfwGetVideoModes |
|
|
|
|
* @sa @ref glfwGetVideoModes |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwGetDesktopMode`. |
|
|
|
|
* |
|
|
|
@ -1676,7 +1678,7 @@ GLFWAPI void glfwSetGammaRamp(GLFWmonitor* monitor, const GLFWgammaramp* ramp); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_hints |
|
|
|
|
* @sa glfwWindowHint |
|
|
|
|
* @sa @ref glfwWindowHint |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -1704,7 +1706,7 @@ GLFWAPI void glfwDefaultWindowHints(void); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_hints |
|
|
|
|
* @sa glfwDefaultWindowHints |
|
|
|
|
* @sa @ref glfwDefaultWindowHints |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwOpenWindowHint`. |
|
|
|
|
* |
|
|
|
@ -1825,7 +1827,7 @@ GLFWAPI void glfwWindowHint(int hint, int value); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_creation |
|
|
|
|
* @sa glfwDestroyWindow |
|
|
|
|
* @sa @ref glfwDestroyWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwOpenWindow`. |
|
|
|
|
* |
|
|
|
@ -1854,7 +1856,7 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, G |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_creation |
|
|
|
|
* @sa glfwCreateWindow |
|
|
|
|
* @sa @ref glfwCreateWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwCloseWindow`. |
|
|
|
|
* |
|
|
|
@ -1988,7 +1990,7 @@ GLFWAPI void glfwSetWindowIcon(GLFWwindow* window, int count, const GLFWimage* i |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_pos |
|
|
|
|
* @sa glfwSetWindowPos |
|
|
|
|
* @sa @ref glfwSetWindowPos |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2018,7 +2020,7 @@ GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_pos |
|
|
|
|
* @sa glfwGetWindowPos |
|
|
|
|
* @sa @ref glfwGetWindowPos |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -2048,7 +2050,7 @@ GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_size |
|
|
|
|
* @sa glfwSetWindowSize |
|
|
|
|
* @sa @ref glfwSetWindowSize |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -2089,7 +2091,7 @@ GLFWAPI void glfwGetWindowSize(GLFWwindow* window, int* width, int* height); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_sizelimits |
|
|
|
|
* @sa glfwSetWindowAspectRatio |
|
|
|
|
* @sa @ref glfwSetWindowAspectRatio |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -2129,7 +2131,7 @@ GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* window, int minwidth, int minhe |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_sizelimits |
|
|
|
|
* @sa glfwSetWindowSizeLimits |
|
|
|
|
* @sa @ref glfwSetWindowSizeLimits |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -2165,8 +2167,8 @@ GLFWAPI void glfwSetWindowAspectRatio(GLFWwindow* window, int numer, int denom); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_size |
|
|
|
|
* @sa glfwGetWindowSize |
|
|
|
|
* @sa glfwSetWindowMonitor |
|
|
|
|
* @sa @ref glfwGetWindowSize |
|
|
|
|
* @sa @ref glfwSetWindowMonitor |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -2196,7 +2198,7 @@ GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_fbsize |
|
|
|
|
* @sa glfwSetFramebufferSizeCallback |
|
|
|
|
* @sa @ref glfwSetFramebufferSizeCallback |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2258,8 +2260,8 @@ GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* window, int* left, int* top, int |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_iconify |
|
|
|
|
* @sa glfwRestoreWindow |
|
|
|
|
* @sa glfwMaximizeWindow |
|
|
|
|
* @sa @ref glfwRestoreWindow |
|
|
|
|
* @sa @ref glfwMaximizeWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in version 2.1. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -2285,8 +2287,8 @@ GLFWAPI void glfwIconifyWindow(GLFWwindow* window); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_iconify |
|
|
|
|
* @sa glfwIconifyWindow |
|
|
|
|
* @sa glfwMaximizeWindow |
|
|
|
|
* @sa @ref glfwIconifyWindow |
|
|
|
|
* @sa @ref glfwMaximizeWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in version 2.1. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -2311,8 +2313,8 @@ GLFWAPI void glfwRestoreWindow(GLFWwindow* window); |
|
|
|
|
* This function may only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_iconify |
|
|
|
|
* @sa glfwIconifyWindow |
|
|
|
|
* @sa glfwRestoreWindow |
|
|
|
|
* @sa @ref glfwIconifyWindow |
|
|
|
|
* @sa @ref glfwRestoreWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in GLFW 3.2. |
|
|
|
|
* |
|
|
|
@ -2334,7 +2336,7 @@ GLFWAPI void glfwMaximizeWindow(GLFWwindow* window); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_hide |
|
|
|
|
* @sa glfwHideWindow |
|
|
|
|
* @sa @ref glfwHideWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2356,7 +2358,7 @@ GLFWAPI void glfwShowWindow(GLFWwindow* window); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_hide |
|
|
|
|
* @sa glfwShowWindow |
|
|
|
|
* @sa @ref glfwShowWindow |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2406,7 +2408,7 @@ GLFWAPI void glfwFocusWindow(GLFWwindow* window); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_monitor |
|
|
|
|
* @sa glfwSetWindowMonitor |
|
|
|
|
* @sa @ref glfwSetWindowMonitor |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2454,8 +2456,8 @@ GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window); |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_monitor |
|
|
|
|
* @sa @ref window_full_screen |
|
|
|
|
* @sa glfwGetWindowMonitor |
|
|
|
|
* @sa glfwSetWindowSize |
|
|
|
|
* @sa @ref glfwGetWindowMonitor |
|
|
|
|
* @sa @ref glfwSetWindowSize |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -2511,7 +2513,7 @@ GLFWAPI int glfwGetWindowAttrib(GLFWwindow* window, int attrib); |
|
|
|
|
* synchronized. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_userptr |
|
|
|
|
* @sa glfwGetWindowUserPointer |
|
|
|
|
* @sa @ref glfwGetWindowUserPointer |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2532,7 +2534,7 @@ GLFWAPI void glfwSetWindowUserPointer(GLFWwindow* window, void* pointer); |
|
|
|
|
* synchronized. |
|
|
|
|
* |
|
|
|
|
* @sa @ref window_userptr |
|
|
|
|
* @sa glfwSetWindowUserPointer |
|
|
|
|
* @sa @ref glfwSetWindowUserPointer |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2751,8 +2753,8 @@ GLFWAPI GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow* window |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref events |
|
|
|
|
* @sa glfwWaitEvents |
|
|
|
|
* @sa glfwWaitEventsTimeout |
|
|
|
|
* @sa @ref glfwWaitEvents |
|
|
|
|
* @sa @ref glfwWaitEventsTimeout |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -2796,8 +2798,8 @@ GLFWAPI void glfwPollEvents(void); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref events |
|
|
|
|
* @sa glfwPollEvents |
|
|
|
|
* @sa glfwWaitEventsTimeout |
|
|
|
|
* @sa @ref glfwPollEvents |
|
|
|
|
* @sa @ref glfwWaitEventsTimeout |
|
|
|
|
* |
|
|
|
|
* @since Added in version 2.5. |
|
|
|
|
* |
|
|
|
@ -2842,8 +2844,8 @@ GLFWAPI void glfwWaitEvents(void); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref events |
|
|
|
|
* @sa glfwPollEvents |
|
|
|
|
* @sa glfwWaitEvents |
|
|
|
|
* @sa @ref glfwPollEvents |
|
|
|
|
* @sa @ref glfwWaitEvents |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -2866,8 +2868,8 @@ GLFWAPI void glfwWaitEventsTimeout(double timeout); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref events |
|
|
|
|
* @sa glfwWaitEvents |
|
|
|
|
* @sa glfwWaitEventsTimeout |
|
|
|
|
* @sa @ref glfwWaitEvents |
|
|
|
|
* @sa @ref glfwWaitEventsTimeout |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.1. |
|
|
|
|
* |
|
|
|
@ -2890,7 +2892,7 @@ GLFWAPI void glfwPostEmptyEvent(void); |
|
|
|
|
* |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa glfwSetInputMode |
|
|
|
|
* @sa @ref glfwSetInputMode |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -2938,7 +2940,7 @@ GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode); |
|
|
|
|
* |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa glfwGetInputMode |
|
|
|
|
* @sa @ref glfwGetInputMode |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwEnable` and `glfwDisable`. |
|
|
|
|
* |
|
|
|
@ -3127,7 +3129,7 @@ GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_pos |
|
|
|
|
* @sa glfwSetCursorPos |
|
|
|
|
* @sa @ref glfwSetCursorPos |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwGetMousePos`. |
|
|
|
|
* |
|
|
|
@ -3164,7 +3166,7 @@ GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_pos |
|
|
|
|
* @sa glfwGetCursorPos |
|
|
|
|
* @sa @ref glfwGetCursorPos |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. Replaces `glfwSetMousePos`. |
|
|
|
|
* |
|
|
|
@ -3203,8 +3205,8 @@ GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_object |
|
|
|
|
* @sa glfwDestroyCursor |
|
|
|
|
* @sa glfwCreateStandardCursor |
|
|
|
|
* @sa @ref glfwDestroyCursor |
|
|
|
|
* @sa @ref glfwCreateStandardCursor |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.1. |
|
|
|
|
* |
|
|
|
@ -3229,7 +3231,7 @@ GLFWAPI GLFWcursor* glfwCreateCursor(const GLFWimage* image, int xhot, int yhot) |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_object |
|
|
|
|
* @sa glfwCreateCursor |
|
|
|
|
* @sa @ref glfwCreateCursor |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.1. |
|
|
|
|
* |
|
|
|
@ -3253,7 +3255,7 @@ GLFWAPI GLFWcursor* glfwCreateStandardCursor(int shape); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref cursor_object |
|
|
|
|
* @sa glfwCreateCursor |
|
|
|
|
* @sa @ref glfwCreateCursor |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.1. |
|
|
|
|
* |
|
|
|
@ -3697,7 +3699,7 @@ GLFWAPI GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun cbfun); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref clipboard |
|
|
|
|
* @sa glfwGetClipboardString |
|
|
|
|
* @sa @ref glfwGetClipboardString |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -3727,7 +3729,7 @@ GLFWAPI void glfwSetClipboardString(GLFWwindow* window, const char* string); |
|
|
|
|
* @thread_safety This function must only be called from the main thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref clipboard |
|
|
|
|
* @sa glfwSetClipboardString |
|
|
|
|
* @sa @ref glfwSetClipboardString |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -3803,7 +3805,7 @@ GLFWAPI void glfwSetTime(double time); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref time |
|
|
|
|
* @sa glfwGetTimerFrequency |
|
|
|
|
* @sa @ref glfwGetTimerFrequency |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -3823,7 +3825,7 @@ GLFWAPI uint64_t glfwGetTimerValue(void); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref time |
|
|
|
|
* @sa glfwGetTimerValue |
|
|
|
|
* @sa @ref glfwGetTimerValue |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -3857,7 +3859,7 @@ GLFWAPI uint64_t glfwGetTimerFrequency(void); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref context_current |
|
|
|
|
* @sa glfwGetCurrentContext |
|
|
|
|
* @sa @ref glfwGetCurrentContext |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -3878,7 +3880,7 @@ GLFWAPI void glfwMakeContextCurrent(GLFWwindow* window); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref context_current |
|
|
|
|
* @sa glfwMakeContextCurrent |
|
|
|
|
* @sa @ref glfwMakeContextCurrent |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.0. |
|
|
|
|
* |
|
|
|
@ -3911,7 +3913,7 @@ GLFWAPI GLFWwindow* glfwGetCurrentContext(void); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref buffer_swap |
|
|
|
|
* @sa glfwSwapInterval |
|
|
|
|
* @sa @ref glfwSwapInterval |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* @glfw3 Added window handle parameter. |
|
|
|
@ -3959,7 +3961,7 @@ GLFWAPI void glfwSwapBuffers(GLFWwindow* window); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref buffer_swap |
|
|
|
|
* @sa glfwSwapBuffers |
|
|
|
|
* @sa @ref glfwSwapBuffers |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -3997,7 +3999,7 @@ GLFWAPI void glfwSwapInterval(int interval); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref context_glext |
|
|
|
|
* @sa glfwGetProcAddress |
|
|
|
|
* @sa @ref glfwGetProcAddress |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -4039,7 +4041,7 @@ GLFWAPI int glfwExtensionSupported(const char* extension); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref context_glext |
|
|
|
|
* @sa glfwExtensionSupported |
|
|
|
|
* @sa @ref glfwExtensionSupported |
|
|
|
|
* |
|
|
|
|
* @since Added in version 1.0. |
|
|
|
|
* |
|
|
|
@ -4109,7 +4111,7 @@ GLFWAPI int glfwVulkanSupported(void); |
|
|
|
|
* @thread_safety This function may be called from any thread. |
|
|
|
|
* |
|
|
|
|
* @sa @ref vulkan_ext |
|
|
|
|
* @sa glfwCreateWindowSurface |
|
|
|
|
* @sa @ref glfwCreateWindowSurface |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
@ -4235,7 +4237,7 @@ GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhys |
|
|
|
|
* synchronization details of Vulkan objects, see the Vulkan specification. |
|
|
|
|
* |
|
|
|
|
* @sa @ref vulkan_surface |
|
|
|
|
* @sa glfwGetRequiredInstanceExtensions |
|
|
|
|
* @sa @ref glfwGetRequiredInstanceExtensions |
|
|
|
|
* |
|
|
|
|
* @since Added in version 3.2. |
|
|
|
|
* |
|
|
|
|