Difference between revisions of "OGL"

From HaskellWiki
Jump to: navigation, search
m
Line 11: Line 11:
 
== Documentation ==
 
== Documentation ==
 
* [http://72.167.145.184/doc/html/OGL/index.html Haddock]
 
* [http://72.167.145.184/doc/html/OGL/index.html Haddock]
  +
  +
== Source ==
  +
* [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/OGL-0.0.0 HackageDB]
   
 
== Related Software ==
 
== Related Software ==

Revision as of 00:26, 17 November 2008

Synopsis

A fork of the OpenGL 2.2.1.1 package.

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

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

Documentation

Source

Related Software

Caveats

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

Changelog

OGL 0.0.0

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