renderloop

Function renderloop 

Source
pub fn renderloop<G>(render_callback: G)
where G: FnMut(LoopState) -> bool,
Expand description

Render loop helper function. Provides given callback with frame delta and fps data. This is a more simple alternative to the main loop helper function.