Function tetra::graphics::set_canvas [−][src]
Expand description
Sets the renderer to redirect all drawing commands to the specified canvas.
If the canvas is different from the one that is currently in use, this will trigger a
flush
to the graphics hardware.