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.6 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] [Quick Jump]

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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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), bytestring (>=0.9 && <0.13), containers (>=0.3 && <0.8), fixed (>=0.2 && <0.4), half (>=0.2.2.1 && <0.4), text (>=0.1 && <1.3 || >=2.0 && <2.2), transformers (>=0.2 && <0.7) [details]
Tested with ghc ==9.10.1, ghc ==9.8.2, ghc ==9.6.6, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2
License BSD-3-Clause
Copyright Copyright (C) 2009-2019 Sven Panne
Author Sven Panne
Maintainer Sven Panne <svenpanne@gmail.com>, Jason Dagit <dagitj@gmail.com>
Revised Revision 3 made by AndreasAbel at 2024-07-06T11:45:28Z
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 2021-11-14T15:29:03Z
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 76469 total (130 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-11-14 [all 1 reports]

Readme for OpenGLRaw-3.3.4.1

[back to package description]

Hackage Stackage LTS Stackage nightly Build Status