Function tetra::graphics::clear[][src]

pub fn clear(ctx: &mut Context, color: Color)

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