The cl-glfw3 Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-glfw3 Reference Manual

This is the cl-glfw3 Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:41:43 2022 GMT+0.

Table of Contents


1 Introduction

cl-glfw3

Bindings for the GLFW library, version 3.x, for Common Lisp.

These bindings have been enhanced with several conveniences, as described in cl-glfw3.lisp.

Direct bindings to all GLFW functions can be found in the system %glfw glfw-bindings.lisp.

Installing

cl-glfw3 is Quicklisp installable! Just type:

(ql:quickload :cl-glfw3)

Running the resulting system requires GLFW version 3.x and libffi to be installed on your computer.

OSX

Ubuntu/Debian

Examples

Examples can be found in the examples directory.

The examples rely on cl-opengl (which Quicklisp will take care of) and require that OpenGL be installed on your computer.

These can be loaded through Quicklisp with:

(ql:quickload :cl-glfw3-examples)

(cl-glfw3-examples:events-example)
(cl-glfw3-examples:basic-window-example)
(cl-glfw3-examples:particles-basic-example)
(cl-glfw3-examples:fragment-shader-example)

Documentation

The best place to find documentation for GLFW3 is their official site.

Stability

At the moment these bindings are largely untested, aside from what can be seen in the examples directory. Contributions are most welcome!


2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-glfw3

Bindings for GLFW 3.x

Author

Alex Charlton <alex.n.charlton@gmail.com>

License

BSD-2

Dependencies
  • cffi (system).
  • alexandria (system).
Source

cl-glfw3.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.1 cl-glfw3/cl-glfw3.asd

Source

cl-glfw3.asd.

Parent Component

cl-glfw3 (system).

ASDF Systems

cl-glfw3.


3.1.2 cl-glfw3/package.lisp

Source

cl-glfw3.asd.

Parent Component

cl-glfw3 (system).

Packages

3.1.3 cl-glfw3/glfw-bindings.lisp

Dependency

package.lisp (file).

Source

cl-glfw3.asd.

Parent Component

cl-glfw3 (system).

Public Interface
Internals

3.1.4 cl-glfw3/cl-glfw3.lisp

Dependency

glfw-bindings.lisp (file).

Source

cl-glfw3.asd.

Parent Component

cl-glfw3 (system).

Public Interface
Internals

import-export (macro).


4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 %cl-glfw3

Source

package.lisp.

Nickname

%glfw

Use List
  • alexandria.
  • cffi.
  • common-lisp.
Public Interface
Internals

Previous: , Up: Packages   [Contents][Index]

4.2 cl-glfw3

Source

package.lisp.

Nickname

glfw

Use List

common-lisp.

Public Interface
Internals

import-export (macro).


5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Constants

Constant: +dont-care+
Package

%cl-glfw3.

Source

glfw-bindings.lisp.


Next: , Previous: , Up: Public Interface   [Contents][Index]

5.1.2 Special variables

Special Variable: *window*

The window that is currently the default for this library. Can be set through MAKE-CONTEXT-CURRENT.

Package

cl-glfw3.

Source

cl-glfw3.lisp.


5.1.3 Macros

Macro: def-char-callback (name (window char) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-cursor-enter-callback (name (window enterp) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-cursor-pos-callback (name (window x y) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-error-callback (name (message) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-framebuffer-size-callback (name (window w h) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-key-callback (name (window key scancode action mod-keys) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-monitor-callback (name (monitor event) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-mouse-button-callback (name (window button action mod-keys) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-scroll-callback (name (window x y) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-window-close-callback (name (window) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-window-focus-callback (name (window focusedp) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-window-iconify-callback (name (window iconifiedp) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-window-position-callback (name (window x y) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-window-refresh-callback (name (window) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: def-window-size-callback (name (window w h) &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: define-glfw-callback (name args &body body)

Define a foreign callback. This macro is a thin wrapper around CFFI’s defcallback that takes care of GLFW specifics.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Macro: with-context (window &body body)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: with-init (&body body)

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.

Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: with-init-window ((&rest window-keys) &body body)

Convenience macro for setting up GLFW and opening a window.

Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: with-window ((&rest window-keys) &body body)

Convenience macro for using windows.

Package

cl-glfw3.

Source

cl-glfw3.lisp.


5.1.4 Ordinary functions

Function: create-window (width height title monitor shared)

Returns a window pointer that shares resources with the window SHARED or NULL.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: create-window (&key width height title monitor shared resizable visible decorated red-bits green-bits blue-bits alpha-bits depth-bits stencil-bits accum-red-bits accum-green-bits accum-blue-bits accum-alpha-bits aux-buffers samples refresh-rate stereo srgb-capable client-api context-version-major context-version-minor context-robustness opengl-forward-compat opengl-debug-context opengl-profile)

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.

Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: create-window-surface (instance window allocator)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: create-window-surface (instance &optional window allocator)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: default-window-hints ()

Reset all window hints to defaults.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: destroy-window (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: destroy-window (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: extension-supported-p (extension)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-clipboard-string (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-clipboard-string (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-context-version (&optional window)

Convenience function returning (opengl-context-major-version opengl-context-minor-version opengl-context-revision).

Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-current-context ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-current-context ()
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-cursor-position (window)

Returns position of cursor (x y) realive to client area of window.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-cursor-position (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-framebuffer-size (window)

Returns size (w h) of framebuffer in pixels.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-framebuffer-size (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-gamma-ramp (monitor)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-input-mode (window mode)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-input-mode (mode &optional window)

Mode is one of :CURSOR :STICKY-KEYS or :STICKY-MOUSE-BUTTONS.

Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-instance-proc-address (instance proc-name)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-joystick-axes (joystick)

Returns list of values for each axes of the joystick.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-joystick-buttons (joystick)

Returns list of values for each button of the joystick.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-joystick-name (joystick)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-key (window key)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-key (key &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-monitor-content-scale (monitor)

Returned scale is (x-scale y-scale).

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-monitor-name (monitor)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-monitor-physical-size (monitor)

Returned size is (w h) in mm.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-monitor-position (monitor)

Returned position is (x y) in screen coordinates.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-monitor-work-area (monitor)

Returned work area is (x y w h) in screen coordinates.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-monitors ()

Returns list of pointers to opaque monitor objects.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-mouse-button (window button)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-mouse-button (button &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-primary-monitor ()

Return the main monitor.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-proc-address (proc-name)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-required-instance-extensions ()

Returns a all names of required Vulkan extensions in a list.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-time ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-version ()

Returns major, minor, and revison numbers of GLFW library. May be called before INIT.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-version-string ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-video-mode (monitor)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-video-modes (monitor)

Returns list of available video modes for the supplied monitor.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-attribute (window attribute)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-attribute (attribute &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-window-content-scale (window)

Returned scale is (x-scale y-scale).

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-content-scale (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-window-monitor (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-monitor (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-window-opacity (window)

Returns opacity of window.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-opacity (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-window-position (window)

Returns position of upper left corner of window (x y) in screen coordinates.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-position (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-window-size (window)

Returns size (w h) in screen coordinates.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: get-window-size (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: get-window-user-pointer (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: hide-window (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: hide-window (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: iconify-window (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: iconify-window (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: init ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: initialize ()

Start GLFW

Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: joystick-present-p (joystick)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: make-context-current (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: make-context-current (window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: physical-device-presentation-support-p (instance device queue-family)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: poll-events ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: post-empty-event ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: restore-window (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: restore-window (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-char-callback (window char-fun)

CHAR-FUN is a callback of type ’void (* GLFWcharfun)(GLFWwindow*,unsigned int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-char-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-clipboard-string (window string)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-clipboard-string (string &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-cursor-enter-callback (window cursor-enter-fun)

CURSOR-ENTER-FUN is a callback of type ’void (* GLFWcursorenterfun)(GLFWwindow*,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-cursor-enter-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-cursor-position (window x y)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-cursor-position (x y &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-cursor-position-callback (window cursor-pos-fun)

CURSOR-POS-FUN is a callback of type ’void (* GLFWcursorposfun)(GLFWwindow*,double,double)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-cursor-position-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-error-callback (error-fun)

ERROR-FUN is of type ’void (* GLFWerrorfun)(int,const char*)’. Returns the previous error callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-error-callback (callback-name)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-framebuffer-size-callback (window framebuffer-size-fun)

FRAMEBUFFER-SIZE-FUN is a callback of type ’void (* GLFWframebuffersizefun)(GLFWwindow*,int,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-framebuffer-size-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-gamma (monitor gamma)

Generates a 256-element gamma ramp from the specified exponent and then calls SET-GAMMA-RAMP with it.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-gamma-ramp (monitor ramp)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-input-mode (window mode value)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-input-mode (mode value &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-key-callback (window key-fun)

KEY-FUN is a callback of type ’void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-key-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-monitor-callback (monitor-fun)

MONITOR-FUN is a callback of type ’void (* GLFWmonitorfun)(GLFWmonitor*,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-mouse-button-callback (window mouse-button-fun)

MOUSE-BUTTON-FUN is a callback of type ’void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-mouse-button-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-scroll-callback (window scroll-fun)

SCROLL-FUN is a callback of type ’void (* GLFWscrollfun)(GLFWwindow*,double,double)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-scroll-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-time (time)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-aspect-ratio (window width height)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-aspect-ratio (width height &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-close-callback (window close-fun)

CLOSE-FUN is a callback of type ’void (* GLFWwindowclosefun)(GLFWwindow*)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-close-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-focus-callback (window focus-fun)

FOCUS-FUN is a callback of type ’void (* GLFWwindowfocusfun)(GLFWwindow*,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-focus-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-iconify-callback (window iconify-fun)

ICONIFY-FUN is a callback of type ’void (* GLFWwindowiconifyfun)(GLFWwindow*,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-iconify-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-monitor (window monitor x-position y-position width height refresh-rate)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-monitor (monitor width height &key window x-position y-position refresh-rate)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-opacity (window x)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-opacity (x &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-position (window x y)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-position (x y &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-position-callback (window position-fun)

POSITION-FUN is a callback of type ’void (* GLFWwindowposfun)(GLFWwindow*,int,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-position-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-refresh-callback (window refresh-fun)

REFRESH-FUN is a callback of type ’void (* GLFWwindowrefreshfun)(GLFWwindow*)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-refresh-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-should-close (window value)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-should-close (&optional window closep)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-size (window w h)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-size (w h &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-size-callback (window size-fun)

SIZE-FUN is a callback of type ’void (* GLFWwindowsizefun)(GLFWwindow*,int,int)’. Returns previously set callback.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-size-callback (callback-name &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-size-limits (window minwidth minheight maxwidth maxheight)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-size-limits (minwidth minheight maxwidth maxheight &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-title (window title)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: set-window-title (title &optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: set-window-user-pointer (window pointer)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: show-window (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: show-window (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: swap-buffers (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: swap-buffers (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Function: swap-interval (interval)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: terminate ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: vulkan-supported-p ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: wait-events ()
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: window-hint (target hint)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: window-should-close-p (window)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Function: window-should-close-p (&optional window)
Package

cl-glfw3.

Source

cl-glfw3.lisp.


5.1.5 Standalone methods

Method: expand-from-foreign (value (type float-traps-masked-type))
Package

cffi.

Source

glfw-bindings.lisp.

Method: expand-to-foreign (value (type float-traps-masked-type))
Package

cffi.

Source

glfw-bindings.lisp.


5.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.1 Special variables

Special Variable: *saved-lisp-fpu-modes*
Package

%cl-glfw3.

Source

glfw-bindings.lisp.


5.2.2 Macros

Macro: import-export (&rest symbols)
Package

cl-glfw3.

Source

cl-glfw3.lisp.

Macro: with-float-traps-restored (&body body)

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.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Macro: with-float-traps-saved-and-masked (&body body)

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.

Package

%cl-glfw3.

Source

glfw-bindings.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.3 Ordinary functions

Function: c-array->list (array count &optional type)
Package

%cl-glfw3.

Source

glfw-bindings.lisp.


5.2.4 Classes

Class: float-traps-masked-type
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Direct superclasses

enhanced-foreign-type.

Direct methods
Class: gamma-ramp-tclass
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: video-mode-tclass
Package

%cl-glfw3.

Source

glfw-bindings.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   C   D   E   F   G   H   I   J   M   P   R   S   T   V   W  
Index Entry  Section

C
c-array->list: Private ordinary functions
create-window: Public ordinary functions
create-window: Public ordinary functions
create-window-surface: Public ordinary functions
create-window-surface: Public ordinary functions

D
def-char-callback: Public macros
def-cursor-enter-callback: Public macros
def-cursor-pos-callback: Public macros
def-error-callback: Public macros
def-framebuffer-size-callback: Public macros
def-key-callback: Public macros
def-monitor-callback: Public macros
def-mouse-button-callback: Public macros
def-scroll-callback: Public macros
def-window-close-callback: Public macros
def-window-focus-callback: Public macros
def-window-iconify-callback: Public macros
def-window-position-callback: Public macros
def-window-refresh-callback: Public macros
def-window-size-callback: Public macros
default-window-hints: Public ordinary functions
define-glfw-callback: Public macros
destroy-window: Public ordinary functions
destroy-window: Public ordinary functions

E
expand-from-foreign: Public standalone methods
expand-to-foreign: Public standalone methods
extension-supported-p: Public ordinary functions

F
Function, c-array->list: Private ordinary functions
Function, create-window: Public ordinary functions
Function, create-window: Public ordinary functions
Function, create-window-surface: Public ordinary functions
Function, create-window-surface: Public ordinary functions
Function, default-window-hints: Public ordinary functions
Function, destroy-window: Public ordinary functions
Function, destroy-window: Public ordinary functions
Function, extension-supported-p: Public ordinary functions
Function, get-clipboard-string: Public ordinary functions
Function, get-clipboard-string: Public ordinary functions
Function, get-context-version: Public ordinary functions
Function, get-current-context: Public ordinary functions
Function, get-current-context: Public ordinary functions
Function, get-cursor-position: Public ordinary functions
Function, get-cursor-position: Public ordinary functions
Function, get-framebuffer-size: Public ordinary functions
Function, get-framebuffer-size: Public ordinary functions
Function, get-gamma-ramp: Public ordinary functions
Function, get-input-mode: Public ordinary functions
Function, get-input-mode: Public ordinary functions
Function, get-instance-proc-address: Public ordinary functions
Function, get-joystick-axes: Public ordinary functions
Function, get-joystick-buttons: Public ordinary functions
Function, get-joystick-name: Public ordinary functions
Function, get-key: Public ordinary functions
Function, get-key: Public ordinary functions
Function, get-monitor-content-scale: Public ordinary functions
Function, get-monitor-name: Public ordinary functions
Function, get-monitor-physical-size: Public ordinary functions
Function, get-monitor-position: Public ordinary functions
Function, get-monitor-work-area: Public ordinary functions
Function, get-monitors: Public ordinary functions
Function, get-mouse-button: Public ordinary functions
Function, get-mouse-button: Public ordinary functions
Function, get-primary-monitor: Public ordinary functions
Function, get-proc-address: Public ordinary functions
Function, get-required-instance-extensions: Public ordinary functions
Function, get-time: Public ordinary functions
Function, get-version: Public ordinary functions
Function, get-version-string: Public ordinary functions
Function, get-video-mode: Public ordinary functions
Function, get-video-modes: Public ordinary functions
Function, get-window-attribute: Public ordinary functions
Function, get-window-attribute: Public ordinary functions
Function, get-window-content-scale: Public ordinary functions
Function, get-window-content-scale: Public ordinary functions
Function, get-window-monitor: Public ordinary functions
Function, get-window-monitor: Public ordinary functions
Function, get-window-opacity: Public ordinary functions
Function, get-window-opacity: Public ordinary functions
Function, get-window-position: Public ordinary functions
Function, get-window-position: Public ordinary functions
Function, get-window-size: Public ordinary functions
Function, get-window-size: Public ordinary functions
Function, get-window-user-pointer: Public ordinary functions
Function, hide-window: Public ordinary functions
Function, hide-window: Public ordinary functions
Function, iconify-window: Public ordinary functions
Function, iconify-window: Public ordinary functions
Function, init: Public ordinary functions
Function, initialize: Public ordinary functions
Function, joystick-present-p: Public ordinary functions
Function, make-context-current: Public ordinary functions
Function, make-context-current: Public ordinary functions
Function, physical-device-presentation-support-p: Public ordinary functions
Function, poll-events: Public ordinary functions
Function, post-empty-event: Public ordinary functions
Function, restore-window: Public ordinary functions
Function, restore-window: Public ordinary functions
Function, set-char-callback: Public ordinary functions
Function, set-char-callback: Public ordinary functions
Function, set-clipboard-string: Public ordinary functions
Function, set-clipboard-string: Public ordinary functions
Function, set-cursor-enter-callback: Public ordinary functions
Function, set-cursor-enter-callback: Public ordinary functions
Function, set-cursor-position: Public ordinary functions
Function, set-cursor-position: Public ordinary functions
Function, set-cursor-position-callback: Public ordinary functions
Function, set-cursor-position-callback: Public ordinary functions
Function, set-error-callback: Public ordinary functions
Function, set-error-callback: Public ordinary functions
Function, set-framebuffer-size-callback: Public ordinary functions
Function, set-framebuffer-size-callback: Public ordinary functions
Function, set-gamma: Public ordinary functions
Function, set-gamma-ramp: Public ordinary functions
Function, set-input-mode: Public ordinary functions
Function, set-input-mode: Public ordinary functions
Function, set-key-callback: Public ordinary functions
Function, set-key-callback: Public ordinary functions
Function, set-monitor-callback: Public ordinary functions
Function, set-mouse-button-callback: Public ordinary functions
Function, set-mouse-button-callback: Public ordinary functions
Function, set-scroll-callback: Public ordinary functions
Function, set-scroll-callback: Public ordinary functions
Function, set-time: Public ordinary functions
Function, set-window-aspect-ratio: Public ordinary functions
Function, set-window-aspect-ratio: Public ordinary functions
Function, set-window-close-callback: Public ordinary functions
Function, set-window-close-callback: Public ordinary functions
Function, set-window-focus-callback: Public ordinary functions
Function, set-window-focus-callback: Public ordinary functions
Function, set-window-iconify-callback: Public ordinary functions
Function, set-window-iconify-callback: Public ordinary functions
Function, set-window-monitor: Public ordinary functions
Function, set-window-monitor: Public ordinary functions
Function, set-window-opacity: Public ordinary functions
Function, set-window-opacity: Public ordinary functions
Function, set-window-position: Public ordinary functions
Function, set-window-position: Public ordinary functions
Function, set-window-position-callback: Public ordinary functions
Function, set-window-position-callback: Public ordinary functions
Function, set-window-refresh-callback: Public ordinary functions
Function, set-window-refresh-callback: Public ordinary functions
Function, set-window-should-close: Public ordinary functions
Function, set-window-should-close: Public ordinary functions
Function, set-window-size: Public ordinary functions
Function, set-window-size: Public ordinary functions
Function, set-window-size-callback: Public ordinary functions
Function, set-window-size-callback: Public ordinary functions
Function, set-window-size-limits: Public ordinary functions
Function, set-window-size-limits: Public ordinary functions
Function, set-window-title: Public ordinary functions
Function, set-window-title: Public ordinary functions
Function, set-window-user-pointer: Public ordinary functions
Function, show-window: Public ordinary functions
Function, show-window: Public ordinary functions
Function, swap-buffers: Public ordinary functions
Function, swap-buffers: Public ordinary functions
Function, swap-interval: Public ordinary functions
Function, terminate: Public ordinary functions
Function, vulkan-supported-p: Public ordinary functions
Function, wait-events: Public ordinary functions
Function, window-hint: Public ordinary functions
Function, window-should-close-p: Public ordinary functions
Function, window-should-close-p: Public ordinary functions

G
get-clipboard-string: Public ordinary functions
get-clipboard-string: Public ordinary functions
get-context-version: Public ordinary functions
get-current-context: Public ordinary functions
get-current-context: Public ordinary functions
get-cursor-position: Public ordinary functions
get-cursor-position: Public ordinary functions
get-framebuffer-size: Public ordinary functions
get-framebuffer-size: Public ordinary functions
get-gamma-ramp: Public ordinary functions
get-input-mode: Public ordinary functions
get-input-mode: Public ordinary functions
get-instance-proc-address: Public ordinary functions
get-joystick-axes: Public ordinary functions
get-joystick-buttons: Public ordinary functions
get-joystick-name: Public ordinary functions
get-key: Public ordinary functions
get-key: Public ordinary functions
get-monitor-content-scale: Public ordinary functions
get-monitor-name: Public ordinary functions
get-monitor-physical-size: Public ordinary functions
get-monitor-position: Public ordinary functions
get-monitor-work-area: Public ordinary functions
get-monitors: Public ordinary functions
get-mouse-button: Public ordinary functions
get-mouse-button: Public ordinary functions
get-primary-monitor: Public ordinary functions
get-proc-address: Public ordinary functions
get-required-instance-extensions: Public ordinary functions
get-time: Public ordinary functions
get-version: Public ordinary functions
get-version-string: Public ordinary functions
get-video-mode: Public ordinary functions
get-video-modes: Public ordinary functions
get-window-attribute: Public ordinary functions
get-window-attribute: Public ordinary functions
get-window-content-scale: Public ordinary functions
get-window-content-scale: Public ordinary functions
get-window-monitor: Public ordinary functions
get-window-monitor: Public ordinary functions
get-window-opacity: Public ordinary functions
get-window-opacity: Public ordinary functions
get-window-position: Public ordinary functions
get-window-position: Public ordinary functions
get-window-size: Public ordinary functions
get-window-size: Public ordinary functions
get-window-user-pointer: Public ordinary functions

H
hide-window: Public ordinary functions
hide-window: Public ordinary functions

I
iconify-window: Public ordinary functions
iconify-window: Public ordinary functions
import-export: Private macros
init: Public ordinary functions
initialize: Public ordinary functions

J
joystick-present-p: Public ordinary functions

M
Macro, def-char-callback: Public macros
Macro, def-cursor-enter-callback: Public macros
Macro, def-cursor-pos-callback: Public macros
Macro, def-error-callback: Public macros
Macro, def-framebuffer-size-callback: Public macros
Macro, def-key-callback: Public macros
Macro, def-monitor-callback: Public macros
Macro, def-mouse-button-callback: Public macros
Macro, def-scroll-callback: Public macros
Macro, def-window-close-callback: Public macros
Macro, def-window-focus-callback: Public macros
Macro, def-window-iconify-callback: Public macros
Macro, def-window-position-callback: Public macros
Macro, def-window-refresh-callback: Public macros
Macro, def-window-size-callback: Public macros
Macro, define-glfw-callback: Public macros
Macro, import-export: Private macros
Macro, with-context: Public macros
Macro, with-float-traps-restored: Private macros
Macro, with-float-traps-saved-and-masked: Private macros
Macro, with-init: Public macros
Macro, with-init-window: Public macros
Macro, with-window: Public macros
make-context-current: Public ordinary functions
make-context-current: Public ordinary functions
Method, expand-from-foreign: Public standalone methods
Method, expand-to-foreign: Public standalone methods

P
physical-device-presentation-support-p: Public ordinary functions
poll-events: Public ordinary functions
post-empty-event: Public ordinary functions

R
restore-window: Public ordinary functions
restore-window: Public ordinary functions

S
set-char-callback: Public ordinary functions
set-char-callback: Public ordinary functions
set-clipboard-string: Public ordinary functions
set-clipboard-string: Public ordinary functions
set-cursor-enter-callback: Public ordinary functions
set-cursor-enter-callback: Public ordinary functions
set-cursor-position: Public ordinary functions
set-cursor-position: Public ordinary functions
set-cursor-position-callback: Public ordinary functions
set-cursor-position-callback: Public ordinary functions
set-error-callback: Public ordinary functions
set-error-callback: Public ordinary functions
set-framebuffer-size-callback: Public ordinary functions
set-framebuffer-size-callback: Public ordinary functions
set-gamma: Public ordinary functions
set-gamma-ramp: Public ordinary functions
set-input-mode: Public ordinary functions
set-input-mode: Public ordinary functions
set-key-callback: Public ordinary functions
set-key-callback: Public ordinary functions
set-monitor-callback: Public ordinary functions
set-mouse-button-callback: Public ordinary functions
set-mouse-button-callback: Public ordinary functions
set-scroll-callback: Public ordinary functions
set-scroll-callback: Public ordinary functions
set-time: Public ordinary functions
set-window-aspect-ratio: Public ordinary functions
set-window-aspect-ratio: Public ordinary functions
set-window-close-callback: Public ordinary functions
set-window-close-callback: Public ordinary functions
set-window-focus-callback: Public ordinary functions
set-window-focus-callback: Public ordinary functions
set-window-iconify-callback: Public ordinary functions
set-window-iconify-callback: Public ordinary functions
set-window-monitor: Public ordinary functions
set-window-monitor: Public ordinary functions
set-window-opacity: Public ordinary functions
set-window-opacity: Public ordinary functions
set-window-position: Public ordinary functions
set-window-position: Public ordinary functions
set-window-position-callback: Public ordinary functions
set-window-position-callback: Public ordinary functions
set-window-refresh-callback: Public ordinary functions
set-window-refresh-callback: Public ordinary functions
set-window-should-close: Public ordinary functions
set-window-should-close: Public ordinary functions
set-window-size: Public ordinary functions
set-window-size: Public ordinary functions
set-window-size-callback: Public ordinary functions
set-window-size-callback: Public ordinary functions
set-window-size-limits: Public ordinary functions
set-window-size-limits: Public ordinary functions
set-window-title: Public ordinary functions
set-window-title: Public ordinary functions
set-window-user-pointer: Public ordinary functions
show-window: Public ordinary functions
show-window: Public ordinary functions
swap-buffers: Public ordinary functions
swap-buffers: Public ordinary functions
swap-interval: Public ordinary functions

T
terminate: Public ordinary functions

V
vulkan-supported-p: Public ordinary functions

W
wait-events: Public ordinary functions
window-hint: Public ordinary functions
window-should-close-p: Public ordinary functions
window-should-close-p: Public ordinary functions
with-context: Public macros
with-float-traps-restored: Private macros
with-float-traps-saved-and-masked: Private macros
with-init: Public macros
with-init-window: Public macros
with-window: Public macros

Jump to:   C   D   E   F   G   H   I   J   M   P   R   S   T   V   W