module SFTexture: sig
.. end
Online documentation for the Texture class
type
t
val create : width:int -> height:int -> t
val createFromFile : filename:string -> ?area:int SFRect.t -> unit -> t
val createFromMemory : data:string -> ?area:int SFRect.t -> unit -> t
val createFromImage : image:SFImage.t -> ?area:int SFRect.t -> unit -> t
val copy : t -> t
val destroy : t -> unit
type
coordinateType =
val bind : t -> unit
val getSize : t -> int * int
val setSmooth : t -> smooth:bool -> unit
val isSmooth : t -> bool
val setRepeated : t -> repeated:bool -> unit
val isRepeated : t -> bool
val getMaximumSize : unit -> int
type
input = [ `Filename of string | `Image of SFImage.t | `Memory of string ]
val create_from : ?area:int SFRect.t -> input -> t