package gles3
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=97d5f94438632d3811aad5ced0d60f92
sha512=dfaf38e17ffb8ec8e071e361579202f49a600291507a30efb772a224b6c66369aa29ea17e5cd5ebaab0b9bdb9026754043622e31fbc649c0e92bbd5d6ba4b417
Description
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.
Dependencies (3)
-
ocaml
>= "5.2.0" -
gles3-stubs
= version -
dune
>= "3.23"
Dev Dependencies (1)
-
odoc
with-doc
Used by (2)
Conflicts
None