From HaskellWiki
Revision as of 21:34, 16 November 2008 by NHA (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


A fork of the OpenGL package.

Modifications to OpenGL IO using the -XGeneralizedNewtypeDeriving extension create context sensitive MonadIO aliases.


  • Simplify concurrent OpenGL applications by explicitly tagging OpenGL code/contexts.
  • Enforce static type checking on commands that can only be executed in certain OpenGL contexts (sending vertex data in immediate-mode for example).

Related Software


  • Graphics.Rendering.OGL.GLU.* is untested.

Changes from the official hOpenGL package

OGL 0.0.0

 - OGL.Monad module added.
 - getIO, ($$=) in OGL.GL.StateVar for compatibility.  
 - mapBuffer, unmapBuffer exposed by OGL.GL.BufferObjects