Module Tgles3

module Tgles3: sig .. end
OpenGL ES 3 thin bindings.

Tgles3 can program OpenGL ES 3 contexts. Consult the binding conventions.

Open the module use it, this defines only the module Gl in your scope. To use in the toplevel with findlib, just #require "tgls.tgles3", it automatically loads the library and opens the Tgles3 module.

References

Release 0.8.1 — OpenGL ES 3 — Daniel Bünzli <daniel.buenzl i@erratique.ch>



OpenGL ES 3


module Gl: sig .. end
OpenGL ES 3 bindings.

Conventions

To find the name of an OCaml function corresponding to a C function name, map the gl prefix to the module name Tgles3.Gl, add an underscore between each minuscule and majuscule and lower case the result. For example glGetError maps to Tgles3.Gl.get_error

To find the name of an OCaml value corresponding to a C enumerant name, map the GL_ prefix to the module name Tgles3.Gl and lower case the rest. For example GL_COLOR_BUFFER_BIT maps to Tgles3.Gl.color_buffer_bit.

The following exceptions occur: