package ocamlsdl

  1. Overview
  2. Docs
val swap_buffers : unit -> unit
type attr =
  1. | RED_SIZE of int
  2. | GREEN_SIZE of int
  3. | BLUE_SIZE of int
  4. | ALPHA_SIZE of int
  5. | BUFFER_SIZE of int
  6. | DOUBLEBUFFER of bool
  7. | DEPTH_SIZE of int
  8. | STENCIL_SIZE of int
  9. | ACCUM_RED_SIZE of int
  10. | ACCUM_GREEN_SIZE of int
  11. | ACCUM_BLUE_SIZE of int
  12. | ACCUM_ALPHA_SIZE of int
  13. | STEREO of int
val set_attr : attr list -> unit
val get_attr : unit -> attr list
val to_raw : Sdlvideo.surface -> [ `ubyte ] Raw.t
OCaml

Innovation. Community. Security.