Module Osg.Timer


module Timer: sig .. end
Timer class is used for measuring elapsed time or time between two points.

type t 
osg::Timer holder.
type timer_t = int64 
val create : unit -> t
Create new timer instance
val instance : unit -> t
Get global timer instance
val tick : t -> timer_t
Get the timers tick value.
val delta_s : t -> timer_t -> timer_t -> float
Get the time in seconds between timer ticks t1 and t2.