michivi / opengles

A simplified OpenGL ES core wrapper library for Haskell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenGL ES: Open Graphics API for Embeded Systems

Hackage

opengles is a Haskell wrapper library around OpenGL, OpenGL ES and EGL. Made complicated OpenGL APIs easy yet keep flexible enough. Resulting binary size is relatively small so that apps launches faster. Works on both desktop and mobile.

Documentation is available through hackage for the current and preceding releases.

Props

  • Garbage collection for GPU objects
  • Pointer operation free
  • Simplified nearly state-free rendering API
  • Compile-time type check of buffers, textures, programs and so on
  • Run on Linux (Mesa), Windows and Android (OS X / iOS contribution is welcome)
  • Vertex Array Object Extension with fallback
  • Multi Draw Extension with fallback

Cons

  • Poor documentation and lack of tutorial
  • No legacy APIs
  • No uncommon extensions
  • No support for most of glGet* functionality that harm performance

Examples

See examples/ directory.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or email.

About

A simplified OpenGL ES core wrapper library for Haskell.

License:GNU Lesser General Public License v3.0


Languages

Language:Haskell 100.0%