Function radiant_utils::renderloop [] [src]

pub fn renderloop<G>(render_callback: G) where
    G: FnMut(LoopState) -> bool

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.