OpenGLRaw: A raw binding for the OpenGL graphics system

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

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 http://www.opengl.org/ and http://www.opengl.org/registry/.


[Skip to Readme]

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
usenativewindowslibraries

When compiling under Windows, use the native libraries instead of e.g. the ones coming with Cygwin.

Enabled
useglxgetprocaddress

Use glXGetProcAddress instead of dlsym on non-Windows-Darwin-Android platforms.

Enabled
usegles2

Use OpenGL ES 2.x instead of OpenGL ES 3.x on Android.

Enabled
osandroid

Compile for Android. This flag goes away when cabal supports os(android).

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] 1.0.0.0, 1.0.1.0, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 1.5.0.1, 2.0.0.0, 2.1.0.0, 2.2.0.0, 2.3.0.0, 2.4.0.0, 2.4.1.0, 2.5.0.0, 2.5.1.0, 2.5.2.1, 2.5.3.0, 2.5.4.0, 2.5.5.0, 2.6.0.0, 2.6.1.0, 2.6.1.1, 3.0.0.0, 3.1.0.0, 3.2.0.0, 3.2.1.0, 3.2.2.0, 3.2.3.0, 3.2.4.0, 3.2.5.0, 3.2.6.0, 3.2.7.0, 3.3.0.0, 3.3.0.1, 3.3.0.2, 3.3.1.0, 3.3.2.0, 3.3.3.0, 3.3.4.0, 3.3.4.1
Change log CHANGELOG.md
Dependencies base (>=4 && <5), transformers (>=0.2 && <0.5) [details]
License BSD-3-Clause
Copyright Copyright (C) 2009-2015 Sven Panne
Author Sven Panne
Maintainer Sven Panne <svenpanne@gmail.com>, Jason Dagit <dagitj@gmail.com>
Category Graphics
Home page http://www.haskell.org/haskellwiki/Opengl
Bug tracker https://github.com/haskell-opengl/OpenGLRaw/issues
Source repo head: git clone https://github.com/haskell-opengl/OpenGLRaw.git
Uploaded by SvenPanne at 2015-09-18T17:55:26Z
Distributions Debian:3.3.4.0, Fedora:3.3.4.1, FreeBSD:2.5.1.0, LTSHaskell:3.3.4.1, NixOS:3.3.4.1, Stackage:3.3.4.1
Reverse Dependencies 30 direct, 192 indirect [details]
Downloads 76374 total (283 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-18 [all 1 reports]

Readme for OpenGLRaw-2.5.4.0

[back to package description]

Hackage Build Status