Function kioto::video::clear_background[][src]

pub fn clear_background(color: Color)

Clear the screen to the given background color.

Examples

use kioto::video;

video::clear_background(video::Color::BLACK);