GLFW-b

Bindings to GLFW OpenGL library

Version on this page:1.4.8.0
LTS Haskell 22.17:3.3.9.0
Stackage Nightly 2024-04-18:3.3.9.0
Latest on Hackage:3.3.9.0

See all snapshots GLFW-b appears in

BSD-3-Clause licensed by Brian Lewis
This version can be pinned in stack with:GLFW-b-1.4.8.0@sha256:ea286756bd6a4d309ba0a11f136d0a4705b36f8d19399c4fd0b5a9afffc9f1bd,2020

Module documentation for 1.4.8.0

Haskell bindings to GLFW, an Open Source, multi-platform library for creating windows with OpenGL contexts and managing input and events.

GLFW-b depends on bindings-GLFW, which, as of the time of this writing, binds to GLFW 3.1, released 2015-01-18.

For a demonstration of GLFW-b, see GLFW-b-demo.

When running GLFW-b in GHCI, don’t forget to

:set -fno-ghci-sandbox

since GHCI can (and might) run each line of your code in a fresh unbounded thread.