Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Wall.Typesetter
Sourcetype quadbuf = {
mutable x0 : float;
mutable y0 : float;
mutable x1 : float;
mutable y1 : float;
mutable u0 : float;
mutable v0 : float;
mutable u1 : float;
mutable v1 : float;
}
type 'input t = {
allocate : sx:float -> sy:float -> 'input -> (unit -> unit) option;
render : Transform.t -> 'input -> quadbuf -> push:(unit -> unit) -> Texture.t;
}
val make :
allocate:(sx:float -> sy:float -> 'input -> (unit -> unit) option) ->
render:(Transform.t -> 'input -> quadbuf -> push:(unit -> unit) -> Texture.t) ->
'input t