package glfw-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Window hints. Use with windowHint like this:

windowHint ~hint:WindowHint.Maximized ~value:true windowHint ~hint:WindowHint.OpenGLProfile ~value:CoreProfile windowHint ~hint:WindowHint.RefreshRate ~value:(Some 60) windowHint ~hint:WindowHint.DepthBits ~value:None

type _ t =
  1. | Focused : bool t
  2. | Resizable : bool t
  3. | Visible : bool t
  4. | Decorated : bool t
  5. | AutoIconify : bool t
  6. | Floating : bool t
  7. | Maximized : bool t
  8. | RedBits : int option t
  9. | GreenBits : int option t
  10. | BlueBits : int option t
  11. | AlphaBits : int option t
  12. | DepthBits : int option t
  13. | StencilBits : int option t
  14. | AccumRedBits : int option t
  15. | AccumGreenBits : int option t
  16. | AccumBlueBits : int option t
  17. | AccumAlphaBits : int option t
  18. | AuxBuffers : int option t
  19. | Stereo : bool t
  20. | Samples : int option t
  21. | SrgbCapable : bool t
  22. | RefreshRate : int option t
  23. | DoubleBuffer : bool t
  24. | ClientApi : client_api t
  25. | ContextVersionMajor : int t
  26. | ContextVersionMinor : int t
  27. | ContextRobustness : context_robustness t
  28. | OpenGLForwardCompat : bool t
  29. | OpenGLDebugContext : bool t
  30. | OpenGLProfile : opengl_profile t
  31. | ContextReleaseBehavior : context_release_behavior t
  32. | ContextNoError : bool t
  33. | ContextCreationApi : context_creation_api t
OCaml

Innovation. Community. Security.