sfml
Bindings to the SFML multimedia library
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library sfml_graphics_oo
Online documentation for the graphics module
class int_rect : ((int * int) * (int * int)) -> object ... end
class float_rect : ((float * float) * (float * float)) -> object ... end
type texture_src = [
| `FromDims of int * int |
| `FromFile of string |
| `FromImage of image |
| `FromMemory of string |
]
class texture : texture_src -> ?area:int SFRect.t -> unit -> object ... end
class render_states : ?blend_mode:SFBlendMode.t -> ?transform:SFTransform.t -> ?texture:
SFTexture.t -> ?shader:SFShader.t -> unit -> object ... end
type draw_type =
| Sprite of SFSprite.t |
| Text of SFText.t |
| Shape of SFShape.t |
| Circle of SFCircleShape.t |
class virtual drawable : object ... end
class sprite : object ... end
class shape : (float * float) array -> object ... end
class circle_shape : ?radius:float -> ?pointCount:int -> unit -> object ... end
class render_window : ?style:SFStyle.t list -> ?bpp:int -> ?settings:SFContextSettings.t -> (
int
* int) -> string -> object ... end