| +accelerated+ | |
|---|---|
| +accum-alpha-bits+ | |
| +accum-blue-bits+ | |
| +accum-green-bits+ | |
| +accum-red-bits+ | |
| +active+ | |
| +alpha-bits+ | |
| +alpha-map-bit+ | |
| +auto-poll-events+ | |
| +aux-buffers+ | |
| +axes+ | |
| +blue-bits+ | |
| +build-mipmaps-bit+ | |
| +buttons+ | |
| +depth-bits+ | |
| +fsaa-samples+ | |
| +fullscreen+ | |
| +green-bits+ | |
| +iconified+ | |
| +infinity+ | |
| +joystick-1+ | |
| +joystick-10+ | |
| +joystick-11+ | |
| +joystick-12+ | |
| +joystick-13+ | |
| +joystick-14+ | |
| +joystick-15+ | |
| +joystick-16+ | |
| +joystick-2+ | |
| +joystick-3+ | |
| +joystick-4+ | |
| +joystick-5+ | |
| +joystick-6+ | |
| +joystick-7+ | |
| +joystick-8+ | |
| +joystick-9+ | |
| +joystick-last+ | |
| +key-backspace+ | |
| +key-del+ | |
| +key-down+ | |
| +key-end+ | |
| +key-enter+ | |
| +key-esc+ | |
| +key-f1+ | |
| +key-f10+ | |
| +key-f11+ | |
| +key-f12+ | |
| +key-f13+ | |
| +key-f14+ | |
| +key-f15+ | |
| +key-f16+ | |
| +key-f17+ | |
| +key-f18+ | |
| +key-f19+ | |
| +key-f2+ | |
| +key-f20+ | |
| +key-f21+ | |
| +key-f22+ | |
| +key-f23+ | |
| +key-f24+ | |
| +key-f25+ | |
| +key-f3+ | |
| +key-f4+ | |
| +key-f5+ | |
| +key-f6+ | |
| +key-f7+ | |
| +key-f8+ | |
| +key-f9+ | |
| +key-home+ | |
| +key-insert+ | |
| +key-kp-0+ | |
| +key-kp-1+ | |
| +key-kp-2+ | |
| +key-kp-3+ | |
| +key-kp-4+ | |
| +key-kp-5+ | |
| +key-kp-6+ | |
| +key-kp-7+ | |
| +key-kp-8+ | |
| +key-kp-9+ | |
| +key-kp-add+ | |
| +key-kp-decimal+ | |
| +key-kp-divide+ | |
| +key-kp-enter+ | |
| +key-kp-equal+ | |
| +key-kp-multiply+ | |
| +key-kp-subtract+ | |
| +key-lalt+ | |
| +key-last+ | |
| +key-lctrl+ | |
| +key-left+ | |
| +key-lshift+ | |
| +key-pagedown+ | |
| +key-pageup+ | |
| +key-ralt+ | |
| +key-rctrl+ | |
| +key-repeat+ | |
| +key-right+ | |
| +key-rshift+ | |
| +key-space+ | |
| +key-special+ | |
| +key-tab+ | |
| +key-unknown+ | |
| +key-up+ | |
| +mouse-button-1+ | |
| +mouse-button-2+ | |
| +mouse-button-3+ | |
| +mouse-button-4+ | |
| +mouse-button-5+ | |
| +mouse-button-6+ | |
| +mouse-button-7+ | |
| +mouse-button-8+ | |
| +mouse-button-last+ | |
| +mouse-button-left+ | |
| +mouse-button-middle+ | |
| +mouse-button-right+ | |
| +mouse-cursor+ | |
| +no-rescale-bit+ | |
| +nowait+ | |
| +opened+ | |
| +origin-ul-bit+ | |
| +present+ | |
| +press+ | |
| +red-bits+ | |
| +refresh-rate+ | |
| +release+ | |
| +stencil-bits+ | |
| +stereo+ | |
| +sticky-keys+ | |
| +sticky-mouse-buttons+ | |
| +system-keys+ | |
| +wait+ | |
| +window+ | |
| +window-no-resize+ |
| broadcast-cond | Parameters cond A condition variable object handle. Description The function restarts all t... |
|---|---|
| close-window | The function closes an opened window and destroys the associated OpenGL⢠context. |
| create-cond | Return values The function returns a condition variable handle, or NULL if the condition variable... |
| create-mutex | Return values The function returns a mutex handle, or NULL if the mutex could not be created. Des... |
| create-thread | Parameters fun A pointer to a function that acts as the entry point for the new thread. The... |
| destroy-cond | Parameters cond A condition variable object handle. Description The function destroys a con... |
| destroy-mutex | Parameters mutex A mutex object handle. Description The function destroys a mutex object. A... |
| destroy-thread | Parameters ID A thread identification handle, which is returned by glfwCreateThread or glfw... |
| disable | Parameters token A value specifying a feature to enable or disable. Valid tokens are liste... |
| enable | Parameters token A value specifying a feature to enable or disable. Valid tokens are liste... |
| extension-supported | Parameters extension A null terminated ISO 8859-1 string containing the name of an OpenGLâ... |
| free-image | Parameters img Pointer to a GLFWimage struct. Description The function frees any memory occu... |
| get-desktop-mode | Parameters mode Pointer to a GLFWvidmode structure, which will be filled out by the functi... |
| get-gl-version | Return values The function returns the major and minor version numbers and the revision for the c... |
| get-joystick-buttons | Parameters joy A joystick identifier, which should be GLFW_JOYSTICK_n, where n is in the r... |
| get-joystick-param | Parameters joy A joystick identifier, which should be GLFW_JOYSTICK_n, where n is in the ra... |
| get-joystick-pos | Parameters joy A joystick identifier, which should be GLFW_JOYSTICK_n, where n is in the r... |
| get-key | Parameters key A keyboard key identifier, which can be either an uppercase printable ISO 88... |
| get-mouse-button | Parameters button A mouse button identifier, which can be one of the mouse button identifie... |
| get-mouse-pos | Return values The function returns the current mouse position in xpos and ypos. Description The ... |
| get-mouse-wheel | Return values The function returns the current mouse wheel position. Description The function ret... |
| get-number-of-processors | Return values The function returns the number of active processors in the system. Description The... |
| get-proc-address | Parameters procname A null terminated ISO 8859-1 string containing the name of an OpenGLâ... |
| get-thread-id | Return values The function returns a thread identification handle for the calling thread. Descrip... |
| get-time | Return values The function returns the value of the high precision timer. The time is measured in... |
| get-version | Return values The function returns the major and minor version numbers and the revision for the c... |
| get-video-modes | Parameters maxcount Maximum number of video modes that list vector can hold. Return values... |
| get-window-param | Parameters param A token selecting which parameter the function should return (see table 3.... |
| get-window-size | The function is used for determining the size of an opened window. The returned values are dimens... |
| iconify-window | Iconify a window. If the window is in fullscreen mode, then the desktop video mode will be restor... |
| init | Return values If the function succeeds, t is returned. If the function fails, nil is returned. T... |
| load-memory-texture-2d | Parameters data The memory buffer holding the contents of the file that should be loaded. ... |
| load-texture-2d | Parameters name An ISO 8859-1 string holding the name of the file that should be loaded. f... |
| load-texture-image-2d | Parameters img Pointer to a GLFWimage struct holding the information about the image to be ... |
| lock-mutex | Parameters mutex A mutex object handle. Description The function will acquire a lock on the... |
| open-window | width The width of the window. If width is zero, it will be calculated as width = 4/3 heigh... |
| open-window-hint | target Can be any of the constants in the table 3.1. hint An integer giving the val... |
| poll-events | Description The function is used for polling for events, such as user input and window resize eve... |
| read-image | Parameters name A null terminated ISO 8859-1 string holding the name of the file that shoul... |
| read-memory-image | Parameters data The memory buffer holding the contents of the file that should be read. siz... |
| restore-window | Restore an iconified window. If the window that is restored is in fullscreen mode, then the fulls... |
| set-char-callback | Parameters cbfun Pointer to a callback function that will be called every time a printable... |
| set-key-callback | Parameters cbfun Pointer to a callback function that will be called every time a key is pre... |
| set-mouse-button-callback | Parameters cbfun Pointer to a callback function that will be called every time a mouse butt... |
| set-mouse-pos | Parameters xpos Horizontal position of the mouse. ypos Vertical position of the mouse. ... |
| set-mouse-pos-callback | Parameters cbfun Pointer to a callback function that will be called every time the mouse is... |
| set-mouse-wheel | Parameters pos Position of the mouse wheel. Description The function changes the position of... |
| set-mouse-wheel-callback | Parameters cbfun Pointer to a callback function that will be called every time the mouse wh... |
| set-time | Parameters time Time (in seconds) that the timer should be set to. Description The functio... |
| set-window-close-callback | Parameters cbfun Pointer to a callback function that will be called when a user requests th... |
| set-window-pos | Parameters x Horizontal position of the window, relative to the upper left corner of the de... |
| set-window-refresh-callback | Parameters cbfun Pointer to a callback function that will be called when the window client... |
| set-window-size | Parameters width Width of the window. height Height of the window. Return values no... |
| set-window-size-callback | Parameters cbfun Pointer to a callback function that will be called every time the window s... |
| set-window-title | Parameters title Pointer to a null terminated ISO 8859-1 (8-bit Latin 1) string that holds... |
| signal-cond | Parameters cond A condition variable object handle. Description The function restarts one ... |
| sleep | Parameters time Time, in seconds, to sleep. Description The function puts the calling th... |
| swap-buffers | The function swaps the back and front color buffers of the window. If GLFW_AUTO-POLL-EVENTS is en... |
| swap-interval | Parameters interval Minimum number of monitor vertical retraces between each buffer swap pe... |
| terminate | The function terminates GLFW. Among other things it closes the window, if it is opened, and kills... |
| unlock-mutex | Parameters mutex A mutex object handle. Description The function releases the lock of a loc... |
| wait-cond | arameters cond A condition variable object handle. mutex A mutex object handle. t... |
| wait-events | Description The function is used for waiting for events, such as user input and window resize eve... |
| wait-thread | Parameters ID A thread identification handle, which is returned by glfwCreateThread or glfw... |
| defcfun+doc | |
|---|---|
| defcfun+out+doc | |
| do-window | High-level convenience macro for initializing glfw, opening a window (given the optional window p... |
| with-init | Call glfw:init, execute forms and clean-up with glfw:terminate once finished. This makes a nice w... |
| with-init-window | Wraps forms in with-init, with-open-window. Passes through the other arguments to open-window. |
| with-lock-mutex | Parameters mutex A mutex object handle. forms Body of code to execute Description Thi... |
| with-open-window | Wraps forms such that there is an open window for them to execute in and cleans up the window aft... |