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.
- 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
- Poor documentation and lack of tutorial
- No legacy APIs
- No uncommon extensions
- No support for most of glGet* functionality that harm performance
See examples/
directory.
Contributions and bug reports are welcome!
Please feel free to contact me through github or email.