Skip to main content

request_redraw

Function request_redraw 

Source
pub fn request_redraw()
Expand description

Asks the host for another frame: emits Event::Redraw once per frame (the flag clears at crate::begin_frame). Used while a snapshot swap is in progress and no input event would otherwise cause a redraw.