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

[ bsd3, graphics, library ] [ Propose Tags ] [ Report a vulnerability ]

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

[Index] [Quick Jump]

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, 3.3.9.2
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 2024-09-22T03:16:30Z
Distributions LTSHaskell:3.3.9.2, NixOS:3.3.9.2, Stackage:3.3.9.2
Reverse Dependencies 4 direct, 71 indirect [details]
Downloads 25809 total (69 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for bindings-GLFW-3.3.9.2

[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.3.9 released 2023-12-13.

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.