gles3version Documentation on ocaml.org
OpenGL ES 3.2 bindings
This project aims at providing a portable way to write OpenGL (more preciselyOpenGL ES) application in OCaml. It comes in three parts: Low level bindings allowing direct calls to OpenGL ES functions. Thesebindings try to remain reasonably type-safe using polymorphic variantsto encode enumeration types. The low level bindings also provide somesanity checks for the size of bigarrays which allow to capture quite alot of errors with clear messages. High level bindings providing auxiliary functions like matrix inversionto ease the development. For instance, to use shaders with the highlevel bindings, you may use compile_shader with the sources code, toget a value of type unit program. Then, you can set the variables ofthe shaders (uniform or attributes), either as constant or function andget an OCaml function to finally run the shaders.* A wrapper to open a window, start the main loop and interact. Currentlyonly EGL under X11 is supported, but we would like to support differentplatforms in the future (Windows, Android, iOS, Wayland, ...) withoutchanging the interface.
| Tags | graphics 3D openGL Gles |
|---|---|
| Authors | Christophe and Raffalli |
| License | MIT |
| Published | |
| Homepage | https://raffalli.eu/gles3/ |
| Issue Tracker | https://github.com/craff/gles3/issues |
| Documentation | https://raffalli.eu/gles3 |
| Maintainers | Christophe and Raffalli |
| Dependencies |
|
| Source [http] | https://github.com/craff/gles3/archive/refs/tags/20260725.tar.gz md5=97d5f94438632d3811aad5ced0d60f92 sha512=dfaf38e17ffb8ec8e071e361579202f49a600291507a30efb772a224b6c66369aa29ea17e5cd5ebaab0b9bdb9026754043622e31fbc649c0e92bbd5d6ba4b417 |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/gles3/gles3.20260725/opam |


