Skip to main content

on_screen

Function on_screen 

pub fn on_screen() -> bool
Expand description

Whether the frame on screen stands on a reading from outside the tree, and so is stale as soon as input reaches it (crate::input_generation). A host reads this when it records the frame it drew, then forget_on_screen: frames that draw such a part note it again.