type t = Full | Relative of OgamlMath.FloatRect.t | Absolute of OgamlMath.IntRect.t
Type of a viewport
Possible values
Full
|
Full window viewport (default) |
Relative of OgamlMath.FloatRect.t
|
Viewport given as a fraction of the window's size |
Absolute of OgamlMath.IntRect.t
|
Viewport given in pixels |