Function tetra::graphics::clear

source ·
pub fn clear(ctx: &mut Context, color: Color)
Expand description

Clears the screen (or a canvas, if one is enabled) to the specified color.