Skip to main content

set_frame_budget

Function set_frame_budget 

pub fn set_frame_budget(interval: Duration)
Expand description

The window’s display refreshes every interval: the frame budget local reads get. The native runner calls this when it learns the display’s refresh rate.