Module Sdl.Pixel

module Pixel: sig .. end

val get_pixel_format_name : SdlpixelFormat.t -> string
type pixel_format = Sdlpixel.pixel_format 
val alloc_format : SdlpixelFormat.t -> pixel_format
val free_format : pixel_format -> unit
type uint8 = int 
type rgb = uint8 * uint8 * uint8 
type rgba = uint8 * uint8 * uint8 * uint8 
val map_RGB : pixel_format -> rgb:rgb -> int32
val map_RGBA : pixel_format -> rgba:rgba -> int32
val get_RGB : pixel:int32 -> fmt:pixel_format -> rgb
val get_RGBA : pixel:int32 -> fmt:pixel_format -> rgba