The OpenGLRaw package

[Tags:bsd3, library]

OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw offers access to all necessary functions, tokens and types plus a general facility for loading extension entries. The module hierarchy closely mirrors the naming structure of the OpenGL extensions, making it easy to find the right module to import. All API entries are loaded dynamically, so no special C header files are needed for building this package. If an API entry is not found at runtime, a userError is thrown.

OpenGL is the industry's most widely used and supported 2D and 3D graphics application programming interface (API), incorporating a broad set of rendering, texture mapping, special effects, and other powerful visualization functions. For more information about OpenGL and its various extensions, please see and

[Skip to Readme]


Change log
Dependencies base (==4.*), bytestring (>=0.9 && <0.11), containers (>=0.3 && <0.6), fixed (==0.2.*), half (>= && <0.3), text (>=0.1 && <1.3), transformers (>=0.2 && <0.6) [details]
License BSD3
Copyright Copyright (C) 2009-2016 Sven Panne
Author Sven Panne
Maintainer Sven Panne <>, Jason Dagit <>
Stability Unknown
Category Graphics
Home page
Bug tracker
Source repository head: git clone
Uploaded Sun Oct 9 12:54:12 UTC 2016 by SvenPanne
Distributions Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 26211 total (146 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-10-09 [all 1 reports]




usenativewindowslibrariesWhen compiling under Windows, use the native libraries instead of e.g. the ones coming with Cygwin.EnabledAutomatic
useglxgetprocaddressUse glXGetProcAddress instead of dlsym on non-Windows/-Darwin/-Android platforms.EnabledAutomatic
usegles2Use OpenGL ES 2.x instead of OpenGL ES 3.x on Android.EnabledAutomatic
osandroidCompile for Android. This flag goes away when cabal supports os(android).DisabledAutomatic

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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for OpenGLRaw

Readme for OpenGLRaw-

Hackage Stackage LTS Stackage nightly Build Status