Skip to main content

set_effect_clock_origin

Function set_effect_clock_origin 

Source
pub fn set_effect_clock_origin(origin: Instant) -> bool
Expand description

Anchors the effect clock, so an embedder can make it share a zero with its own (a JS performance.now()). Returns false once the clock has been read.