Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val window : t -> Tsdl.Sdl.window
val texture : t -> Tsdl.Sdl.texture
val surface : t -> Tsdl.Sdl.surface
val renderer : t -> Tsdl.Sdl.renderer
val create :
?title:string ->
Tsdl.Sdl.Window.flags ->
(int, Bimage.u8, [< Bimage.rgb | Bimage.rgba ]) Bimage.Image.t ->
t Tsdl.Sdl.result
val update :
?image:(int, Bimage.u8, [< Bimage.rgb | Bimage.rgba ]) Bimage.Image.t ->
t ->
unit Tsdl.Sdl.result
val draw : t -> unit