This is the cl-glfw3 Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:58:58 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-glfw3
Bindings for GLFW 3.x
Alex Charlton <alex.n.charlton@gmail.com>
BSD-2
cffi
(system).
alexandria
(system).
package.lisp
(file).
glfw-bindings.lisp
(file).
cl-glfw3.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-glfw3/glfw-bindings.lisp
package.lisp
(file).
cl-glfw3
(system).
+dont-care+
(constant).
create-window
(function).
create-window-surface
(function).
default-window-hints
(function).
define-glfw-callback
(macro).
destroy-window
(function).
expand-from-foreign
(method).
expand-to-foreign
(method).
extension-supported-p
(function).
get-clipboard-string
(function).
get-current-context
(function).
get-cursor-position
(function).
get-framebuffer-size
(function).
get-gamma-ramp
(function).
get-input-mode
(function).
get-instance-proc-address
(function).
get-joystick-axes
(function).
get-joystick-buttons
(function).
get-joystick-name
(function).
get-key
(function).
get-monitor-content-scale
(function).
get-monitor-name
(function).
get-monitor-physical-size
(function).
get-monitor-position
(function).
get-monitor-work-area
(function).
get-monitors
(function).
get-mouse-button
(function).
get-primary-monitor
(function).
get-proc-address
(function).
get-required-instance-extensions
(function).
get-time
(function).
get-version
(function).
get-version-string
(function).
get-video-mode
(function).
get-video-modes
(function).
get-window-attribute
(function).
get-window-content-scale
(function).
get-window-monitor
(function).
get-window-opacity
(function).
get-window-position
(function).
get-window-size
(function).
get-window-user-pointer
(function).
hide-window
(function).
iconify-window
(function).
init
(function).
joystick-present-p
(function).
make-context-current
(function).
physical-device-presentation-support-p
(function).
poll-events
(function).
post-empty-event
(function).
restore-window
(function).
set-char-callback
(function).
set-clipboard-string
(function).
set-cursor-enter-callback
(function).
set-cursor-position
(function).
set-cursor-position-callback
(function).
set-error-callback
(function).
set-framebuffer-size-callback
(function).
set-gamma
(function).
set-gamma-ramp
(function).
set-input-mode
(function).
set-key-callback
(function).
set-monitor-callback
(function).
set-mouse-button-callback
(function).
set-scroll-callback
(function).
set-time
(function).
set-window-aspect-ratio
(function).
set-window-close-callback
(function).
set-window-focus-callback
(function).
set-window-iconify-callback
(function).
set-window-monitor
(function).
set-window-opacity
(function).
set-window-position
(function).
set-window-position-callback
(function).
set-window-refresh-callback
(function).
set-window-should-close
(function).
set-window-size
(function).
set-window-size-callback
(function).
set-window-size-limits
(function).
set-window-title
(function).
set-window-user-pointer
(function).
show-window
(function).
swap-buffers
(function).
swap-interval
(function).
terminate
(function).
vulkan-supported-p
(function).
wait-events
(function).
window-hint
(function).
window-should-close-p
(function).
*saved-lisp-fpu-modes*
(special variable).
c-array->list
(function).
float-traps-masked-type
(class).
gamma-ramp-tclass
(class).
video-mode-tclass
(class).
with-float-traps-restored
(macro).
with-float-traps-saved-and-masked
(macro).
cl-glfw3/cl-glfw3.lisp
glfw-bindings.lisp
(file).
cl-glfw3
(system).
*window*
(special variable).
create-window
(function).
create-window-surface
(function).
def-char-callback
(macro).
def-cursor-enter-callback
(macro).
def-cursor-pos-callback
(macro).
def-error-callback
(macro).
def-framebuffer-size-callback
(macro).
def-key-callback
(macro).
def-monitor-callback
(macro).
def-mouse-button-callback
(macro).
def-scroll-callback
(macro).
def-window-close-callback
(macro).
def-window-focus-callback
(macro).
def-window-iconify-callback
(macro).
def-window-position-callback
(macro).
def-window-refresh-callback
(macro).
def-window-size-callback
(macro).
destroy-window
(function).
get-clipboard-string
(function).
get-context-version
(function).
get-current-context
(function).
get-cursor-position
(function).
get-framebuffer-size
(function).
get-input-mode
(function).
get-key
(function).
get-mouse-button
(function).
get-window-attribute
(function).
get-window-content-scale
(function).
get-window-monitor
(function).
get-window-opacity
(function).
get-window-position
(function).
get-window-size
(function).
hide-window
(function).
iconify-window
(function).
initialize
(function).
make-context-current
(function).
restore-window
(function).
set-char-callback
(function).
set-clipboard-string
(function).
set-cursor-enter-callback
(function).
set-cursor-position
(function).
set-cursor-position-callback
(function).
set-error-callback
(function).
set-framebuffer-size-callback
(function).
set-input-mode
(function).
set-key-callback
(function).
set-mouse-button-callback
(function).
set-scroll-callback
(function).
set-window-aspect-ratio
(function).
set-window-close-callback
(function).
set-window-focus-callback
(function).
set-window-iconify-callback
(function).
set-window-monitor
(function).
set-window-opacity
(function).
set-window-position
(function).
set-window-position-callback
(function).
set-window-refresh-callback
(function).
set-window-should-close
(function).
set-window-size
(function).
set-window-size-callback
(function).
set-window-size-limits
(function).
set-window-title
(function).
show-window
(function).
swap-buffers
(function).
window-should-close-p
(function).
with-context
(macro).
with-init
(macro).
with-init-window
(macro).
with-window
(macro).
import-export
(macro).
Packages are listed by definition order.
%cl-glfw3
%glfw
alexandria
.
cffi
.
common-lisp
.
+dont-care+
(constant).
create-window
(function).
create-window-surface
(function).
default-window-hints
(function).
define-glfw-callback
(macro).
destroy-window
(function).
extension-supported-p
(function).
get-clipboard-string
(function).
get-current-context
(function).
get-cursor-position
(function).
get-framebuffer-size
(function).
get-gamma-ramp
(function).
get-input-mode
(function).
get-instance-proc-address
(function).
get-joystick-axes
(function).
get-joystick-buttons
(function).
get-joystick-name
(function).
get-key
(function).
get-monitor-content-scale
(function).
get-monitor-name
(function).
get-monitor-physical-size
(function).
get-monitor-position
(function).
get-monitor-work-area
(function).
get-monitors
(function).
get-mouse-button
(function).
get-primary-monitor
(function).
get-proc-address
(function).
get-required-instance-extensions
(function).
get-time
(function).
get-version
(function).
get-version-string
(function).
get-video-mode
(function).
get-video-modes
(function).
get-window-attribute
(function).
get-window-content-scale
(function).
get-window-monitor
(function).
get-window-opacity
(function).
get-window-position
(function).
get-window-size
(function).
get-window-user-pointer
(function).
hide-window
(function).
iconify-window
(function).
init
(function).
joystick-present-p
(function).
make-context-current
(function).
physical-device-presentation-support-p
(function).
poll-events
(function).
post-empty-event
(function).
restore-window
(function).
set-char-callback
(function).
set-clipboard-string
(function).
set-cursor-enter-callback
(function).
set-cursor-position
(function).
set-cursor-position-callback
(function).
set-error-callback
(function).
set-framebuffer-size-callback
(function).
set-gamma
(function).
set-gamma-ramp
(function).
set-input-mode
(function).
set-key-callback
(function).
set-monitor-callback
(function).
set-mouse-button-callback
(function).
set-scroll-callback
(function).
set-time
(function).
set-window-aspect-ratio
(function).
set-window-close-callback
(function).
set-window-focus-callback
(function).
set-window-iconify-callback
(function).
set-window-monitor
(function).
set-window-opacity
(function).
set-window-position
(function).
set-window-position-callback
(function).
set-window-refresh-callback
(function).
set-window-should-close
(function).
set-window-size
(function).
set-window-size-callback
(function).
set-window-size-limits
(function).
set-window-title
(function).
set-window-user-pointer
(function).
show-window
(function).
swap-buffers
(function).
swap-interval
(function).
terminate
(function).
vulkan-supported-p
(function).
wait-events
(function).
window-hint
(function).
window-should-close-p
(function).
*saved-lisp-fpu-modes*
(special variable).
c-array->list
(function).
float-traps-masked-type
(class).
gamma-ramp-tclass
(class).
video-mode-tclass
(class).
with-float-traps-restored
(macro).
with-float-traps-saved-and-masked
(macro).
cl-glfw3
glfw
common-lisp
.
*window*
(special variable).
create-window
(function).
create-window-surface
(function).
def-char-callback
(macro).
def-cursor-enter-callback
(macro).
def-cursor-pos-callback
(macro).
def-error-callback
(macro).
def-framebuffer-size-callback
(macro).
def-key-callback
(macro).
def-monitor-callback
(macro).
def-mouse-button-callback
(macro).
def-scroll-callback
(macro).
def-window-close-callback
(macro).
def-window-focus-callback
(macro).
def-window-iconify-callback
(macro).
def-window-position-callback
(macro).
def-window-refresh-callback
(macro).
def-window-size-callback
(macro).
destroy-window
(function).
get-clipboard-string
(function).
get-context-version
(function).
get-current-context
(function).
get-cursor-position
(function).
get-framebuffer-size
(function).
get-input-mode
(function).
get-key
(function).
get-mouse-button
(function).
get-window-attribute
(function).
get-window-content-scale
(function).
get-window-monitor
(function).
get-window-opacity
(function).
get-window-position
(function).
get-window-size
(function).
hide-window
(function).
iconify-window
(function).
initialize
(function).
make-context-current
(function).
restore-window
(function).
set-char-callback
(function).
set-clipboard-string
(function).
set-cursor-enter-callback
(function).
set-cursor-position
(function).
set-cursor-position-callback
(function).
set-error-callback
(function).
set-framebuffer-size-callback
(function).
set-input-mode
(function).
set-key-callback
(function).
set-mouse-button-callback
(function).
set-scroll-callback
(function).
set-window-aspect-ratio
(function).
set-window-close-callback
(function).
set-window-focus-callback
(function).
set-window-iconify-callback
(function).
set-window-monitor
(function).
set-window-opacity
(function).
set-window-position
(function).
set-window-position-callback
(function).
set-window-refresh-callback
(function).
set-window-should-close
(function).
set-window-size
(function).
set-window-size-callback
(function).
set-window-size-limits
(function).
set-window-title
(function).
show-window
(function).
swap-buffers
(function).
window-should-close-p
(function).
with-context
(macro).
with-init
(macro).
with-init-window
(macro).
with-window
(macro).
import-export
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The window that is currently the default for this library. Can be set through MAKE-CONTEXT-CURRENT.
Define a foreign callback. This macro is a thin wrapper around CFFI’s defcallback that takes care of GLFW specifics.
Wrap BODY with an initialized GLFW instance, ensuring proper termination. If no error callback is set when this is called, a default error callback is set.
Convenience macro for setting up GLFW and opening a window.
Convenience macro for using windows.
Returns a window pointer that shares resources with the window SHARED or NULL.
This function handles all window hints.
MONITOR: The monitor on which the window should be full-screen. SHARED: The window whose context to share resources with.
Reset all window hints to defaults.
Convenience function returning (opengl-context-major-version opengl-context-minor-version opengl-context-revision).
Returns position of cursor (x y) realive to client area of window.
Returns size (w h) of framebuffer in pixels.
Mode is one of :CURSOR :STICKY-KEYS or :STICKY-MOUSE-BUTTONS.
Returns list of values for each axes of the joystick.
Returns list of values for each button of the joystick.
Returned scale is (x-scale y-scale).
Returned size is (w h) in mm.
Returned position is (x y) in screen coordinates.
Returned work area is (x y w h) in screen coordinates.
Returns list of pointers to opaque monitor objects.
Return the main monitor.
Returns a all names of required Vulkan extensions in a list.
Returns major, minor, and revison numbers of GLFW library. May be called before INIT.
Returns list of available video modes for the supplied monitor.
Returned scale is (x-scale y-scale).
Returns opacity of window.
Returns position of upper left corner of window (x y) in screen coordinates.
Returns size (w h) in screen coordinates.
Start GLFW
CHAR-FUN is a callback of type ’void (* GLFWcharfun)(GLFWwindow*,unsigned int)’. Returns previously set callback.
CURSOR-ENTER-FUN is a callback of type ’void (* GLFWcursorenterfun)(GLFWwindow*,int)’. Returns previously set callback.
CURSOR-POS-FUN is a callback of type ’void (* GLFWcursorposfun)(GLFWwindow*,double,double)’. Returns previously set callback.
ERROR-FUN is of type ’void (* GLFWerrorfun)(int,const char*)’. Returns the previous error callback.
FRAMEBUFFER-SIZE-FUN is a callback of type ’void (* GLFWframebuffersizefun)(GLFWwindow*,int,int)’. Returns previously set callback.
Generates a 256-element gamma ramp from the specified exponent and then calls SET-GAMMA-RAMP with it.
KEY-FUN is a callback of type ’void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int)’. Returns previously set callback.
MONITOR-FUN is a callback of type ’void (* GLFWmonitorfun)(GLFWmonitor*,int)’. Returns previously set callback.
MOUSE-BUTTON-FUN is a callback of type ’void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int)’. Returns previously set callback.
SCROLL-FUN is a callback of type ’void (* GLFWscrollfun)(GLFWwindow*,double,double)’. Returns previously set callback.
CLOSE-FUN is a callback of type ’void (* GLFWwindowclosefun)(GLFWwindow*)’. Returns previously set callback.
FOCUS-FUN is a callback of type ’void (* GLFWwindowfocusfun)(GLFWwindow*,int)’. Returns previously set callback.
ICONIFY-FUN is a callback of type ’void (* GLFWwindowiconifyfun)(GLFWwindow*,int)’. Returns previously set callback.
POSITION-FUN is a callback of type ’void (* GLFWwindowposfun)(GLFWwindow*,int,int)’. Returns previously set callback.
REFRESH-FUN is a callback of type ’void (* GLFWwindowrefreshfun)(GLFWwindow*)’. Returns previously set callback.
SIZE-FUN is a callback of type ’void (* GLFWwindowsizefun)(GLFWwindow*,int,int)’. Returns previously set callback.
float-traps-masked-type
)) ¶cffi
.
float-traps-masked-type
)) ¶cffi
.
Temporarily restore the saved float traps during execution of the given BODY. Expands into a PROGN if this is not required for the current implementation.
Turn off floating point traps and stash them
during execution of the given BODY. Expands into a PROGN if
this is not required for the current implementation.
enhanced-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
Jump to: | C D E F G H I J M P R S T V W |
---|
Jump to: | C D E F G H I J M P R S T V W |
---|
Jump to: | *
+
C S |
---|
Jump to: | *
+
C S |
---|
Jump to: | %
C F G P S V |
---|
Jump to: | %
C F G P S V |
---|