module Lit:sig
..end
Lit is a lightweight OpenGL-based rendering engine for OCaml. It provides a thin abstraction to program GPUs with OpenGL, OpenGL ES or WebGL.
Open the module to use it, this defines only modules and types in your scope.
Note. Any functions that doesn't take a renderer value can be used safely even if there's no renderer setup.
Release 0.0.0-118-gd95a248 — Daniel Bünzli <daniel.buenzl i@erratique.ch>
type
renderer
type
buf
type
attr
type
prim
type
tex
module Buf:sig
..end
module Attr:sig
..end
module Prim:sig
..end
module Tex:sig
..end
type 'a
uniform
type
prog
type
effect
module Uniform:sig
..end
module Prog:sig
..end
module Effect:sig
..end
type
view
type
fbuf
module View:sig
..end
module Fbuf:sig
..end
type
op = {
|
count : |
|
effect : |
|
uniforms : |
|
tr : |
|
prim : |
module Renderer:sig
..end