Modules
Macros
- Run an
App
with the defaultAppOptions
, i.e. the same as: - Run an
App
with someAppOptions
.
Structs
- A token from which to call various GLFW functions. It can be obtained by calling the
init
function. This cannot be sent to other tasks, and should only be initialized on the main platform thread. Whilst this might make performing some operations harder, this is to ensure thread safety is enforced statically. - Key modifiers (e.g., Shift, Control, Alt, Super)
- OpenGL handle wrapped in a struct, to ensure the handle cannot “accidentally” be used.
- A struct that wraps a
*GLFWwindow
handle.
Enums
- Input actions.
- Input keys.
- Mouse buttons. The
MouseButtonLeft
,MouseButtonRight
, andMouseButtonMiddle
aliases are supplied for convenience. - Window event messages.
Traits
- Methods common to renderable contexts
Functions
Type Definitions
- Keyboard code returned by the OS