Personal tools


From HaskellWiki

Revision as of 00:26, 17 November 2008 by NHA (Talk | contribs)

Jump to: navigation, search


1 Synopsis

A fork of the OpenGL package.

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

2 Motivation

  • 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).

3 Documentation

4 Source

5 Related Software

6 Caveats

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

7 Changelog

7.1 OGL 0.0.0

   - OGL.Monad.
   - OGL.GL.StateVar: getIO, ($$=).  
   - OGL.GL.BufferObjects: mapBuffer, unmapBuffer.