package ocamlsdl2

  1. Overview
  2. Docs
type t
val create_from_surface : Sdltype.renderer -> Sdlsurface.t -> t
val destroy : t -> unit
val set_blend_mode : t -> SdlblendMode.t -> unit
val get_blend_mode : t -> SdlblendMode.t
val set_alpha_mod : t -> alpha:int -> unit
val get_alpha_mod : t -> int
val set_color_mod : t -> (int * int * int) -> unit
val set_color_mod3 : t -> r:int -> g:int -> b:int -> unit
val get_color_mod : t -> int * int * int
OCaml

Innovation. Community. Security.