Module Useri.Surface.Gl

module Gl: sig .. end
The type for OpenGL surface specification.


OpenGL surface


type colors = [ `RGBA_8888 | `RGB_565 ] 
The type for color buffers specification.
type depth = [ `D_16 | `D_24 ] 
The type for depth buffer specification.
type stencil = [ `S_8 ] 
The type for stencil buffer specification.
type t = {
   accelerated : bool option;
   multisample : int option;
   doublebuffer : bool;
   stereo : bool;
   srgb : bool;
   colors : colors;
   depth : depth option;
   stencil : stencil option;
   version : int * int;
}
The type for OpenGL surface specifications.

The default values mentionned below are those of Useri.Surface.Gl.default.


val default : t
default is the default OpenGL surface specification. See Useri.Surface.Gl.t.