Skip to main content

clear

Function clear 

Source
pub fn clear(clear_depth: bool, color: Color) -> Result<()>
Expand description

Clears the active render target to color (and optionally the depth buffer).