Skip to main content

frame_drawn

Function frame_drawn 

pub fn frame_drawn(at: Instant)
Expand description

A frame was drawn reading its motions at at (taken before drawing, so every motion the frame read was at at or later). Every host that asks frames_wanted says so for each frame it draws, as the surface it draws for ([own]): the frame at rest after a motion ends is owed until one drawn at or after its end.