package gles3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type config = {
  1. red_size : int;
  2. green_size : int;
  3. blue_size : int;
  4. alpha_size : int;
  5. depth_size : int;
  6. stencil_size : int;
  7. samples : int;
}
type button =
  1. | Button1
  2. | Button2
  3. | Button3
  4. | Button4
  5. | Button5
type keysym = int
val mask_Shift : int
val mask_Lock : int
val mask_Control : int
val mask_Mod1 : int
val mask_Mod2 : int
val mask_Mod3 : int
val mask_Mod4 : int
val mask_Mod5 : int
val mask_Button1 : int
val mask_Button2 : int
val mask_Button3 : int
val mask_Button4 : int
val mask_Button5 : int
val initialize : ?config:config -> width:int -> height:int -> string -> unit
val terminate : unit -> unit
val swap_buffers : unit -> unit
val query_version : unit -> string
val query_vendor : unit -> string
val query_extensions : unit -> string
val query_client_apis : unit -> string
val query_config : unit -> config
val main_loop : unit -> unit
val exit_loop : unit -> unit
val set_idle_callback : (unit -> unit) -> unit
val set_reshape_callback : (width:int -> height:int -> unit) -> unit
val set_delete_callback : (unit -> unit) -> unit
val set_key_press_callback : (key:keysym -> state:int -> x:int -> y:int -> unit) -> unit
val set_key_release_callback : (key:keysym -> state:int -> x:int -> y:int -> unit) -> unit
val set_button_press_callback : (button:button -> state:int -> x:int -> y:int -> unit) -> unit
val set_button_release_callback : (button:button -> state:int -> x:int -> y:int -> unit) -> unit
val set_motion_notify_callback : (state:int -> x:int -> y:int -> unit) -> unit
OCaml

Innovation. Community. Security.