hugin.usdl
Usdl.Texture
hugin
hugin.top
hugin.ucairo
type t = texture
The type for SDL textures.
val of_surface : renderer -> surface -> t
of_surface ren surf creates a texture from surf.
of_surface ren surf
surf
Raises Failure if texture creation fails.
Failure
val destroy : t -> unit
destroy t frees the texture. Safe to call more than once.
destroy t