MyNixOS website logo
Description

Bindings to GLFW OpenGL library.

Bindings to GLFW (http://www.glfw.org/), an open source, multi-platform library for creating windows with OpenGL contexts and managing input and events.

GLFW-b depends on bindings-GLFW (http://hackage.haskell.org/package/bindings-GLFW), which, as of the time of this writing, binds to GLFW 3.3.9, released 2023-12-13 (http://www.glfw.org/Version-3.3.0-released.htmlhttp://www.glfw.org/changelog.html).

If you've used GLFW < 3 before, you should read the transition guide (http://www.glfw.org/docs/3.0/moving.html).

GLFW-b

Hackage

Description

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.3, released 2019-04-15.

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.

Contributing

This package uses git-flow as development model, in short that means that:

  1. New features should be added to "develop" branch.
  2. "master" branch is reserved for stable releases.
  3. Patches for bugs related with previous releases should always be done in "hotfixes" branch.
  4. All merge commits to master from "hotfixes" should be done using the "--no-ff" flag and from "develop" should avoid merging commits.

Until we have a defined road-map we are going to leave out "release "branches" and "feature branches". For more information about this development model please refer to this site.

Thanks you, and happy coding.

Metadata

Version

3.3.9.0

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows