Function ggez::graphics::set_canvas[][src]

pub fn set_canvas(ctx: &mut Context, target: Option<&Canvas>)

Set the canvas to render to. Specifying Option::None will cause all rendering to be done directly to the screen.