bindings-GLFW: Low-level bindings to GLFW OpenGL library

[ bsd3, graphics, library ] [ Propose Tags ]

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

The binding is to GLFW 3.3, released 2019-04-15 (http://www.glfw.org/Version-3.3-released.html http://www.glfw.org/changelog.html).

These bindings are too low-level for normal use. For higher-level bindings, see GLFW-b (http://hackage.haskell.org/package/GLFW-b).

If you've used GLFW before, you were probably using 2.7.x. There are some significant differences in 3.x.x. Please see the transition guide (http://www.glfw.org/docs/3.3/moving.html).


[Skip to Readme]

Modules

[Last Documentation]

  • Bindings
    • Bindings.GLFW

Flags

Automatic Flags
NameDescriptionDefault
system-glfw

Use the system-wide GLFW instead of the bundled copy.

Disabled
macosxusechdir

Mac OS X only. Determines whether init changes the current directory of bundled applications to the 'Contents/Resources' directory.

Enabled
macosxusemenubar

Mac OS X only. Determines whether the first call to createWindow sets up a minimal menu bar.

Enabled
macosxuseretina

Mac OS X only. Determines whether windows use the full resolution of Retina displays (recommended).

Enabled
x

Linux only. Determines whether to target the X11 display server.

Enabled
wayland

Linux only. Determines whether to target the Wayland display server.

Disabled
osmesa

Linux only. Determines whether or not to use the Mesa 3D rendering context.

Disabled
exposenative

Whether or not to use the native access functions. You most likely do not want to do this. You may if you're coding for the Rift, perhaps.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.0, 0.0.1, 0.1.0, 3.0.3, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.1, 3.1.1, 3.1.1.2, 3.1.1.3, 3.1.1.4, 3.1.2.0, 3.1.2.1, 3.1.2.2, 3.1.2.3, 3.1.2.4, 3.2.1.0, 3.2.1.1, 3.3.0.0, 3.3.1.0, 3.3.2.0, 3.3.9.0, 3.3.9.1
Dependencies base (<5), bindings-DSL (>=1.0 && <1.1) [details]
License BSD-3-Clause
Author Brian Lewis <brian@lorf.org>
Maintainer Brian Lewis <brian@lorf.org> , Schell Scivally <efsubenovex@gmail.com> , Javier Jaramago <jaramago.fernandez.javier@gmail.com> , Pavel Krajcevski <krajcevski@gmail.com>
Category Graphics
Source repo head: git clone git://github.com/bsl/bindings-GLFW.git
Uploaded by Mokosha at 2019-09-12T06:34:39Z
Distributions LTSHaskell:3.3.9.1, NixOS:3.3.9.1, Stackage:3.3.9.1
Reverse Dependencies 4 direct, 68 indirect [details]
Downloads 25010 total (86 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2019-09-12 [all 3 reports]

Readme for bindings-GLFW-3.3.0.0

[back to package description]

bindings-GLFW

Description

Hackage

Low-level Haskell bindings to GLFW, an open source, multi-platform library for creating windows with OpenGL contexts and managing input and events.

The binding is to GLFW 3.2.1 released 2016-08-18.

These bindings are a lot lower level than intended for normal use. For higher-level GLFW bindings, see GLFW-b.

Contributing

  1. To add a new feature or fix a bug, please start a new branch with a meaningful name (not "feature").
  2. "master" branch is reserved as the current up-to-date working tree.

Thank you, and happy coding.