module Gl:sig
..end
typecolors =
[ `RGBA_8888 | `RGB_565 ]
typedepth =
[ `D_16 | `D_24 ]
typestencil =
[ `S_8 ]
type
t = {
|
accelerated : |
|
multisample : |
|
doublebuffer : |
|
stereo : |
|
srgb : |
|
colors : |
|
depth : |
|
stencil : |
|
version : |
The default values mentionned below are those of Useri.Surface.Gl.default
.
accelerated
, use Some false
for software renderer, Some true
to require hardware renderer, None
to allow either. Defaults to
None
multisample
, use Some count
for enabling a multisample buffer
with count
samples. Defaults to Some 8
.doublebuffer
, use a double buffered surface. Defaults to true
.stereo
, use stereo buffers. Defaults to false
.srgb
, request an sRGB framebuffer. Defaults to true
.colors
, specify the color buffers. Defaults to `RGBA_8888
.depth
, specify the depth buffer. Defaults to Some `D_24
.stencil
, specify the stencil buffer. Defaults to None
.version
, specify the GL version.val default : t