[−][src]Function tetra::graphics::present
pub fn present(ctx: &mut Context)
Presents the result of drawing commands to the screen.
If any custom shaders/canvases are set, this function will unset them - don't rely on the state of one render carrying over to the next!
You usually will not have to call this manually, as it is called for you at the end of every
frame. Note that calling it will trigger a flush
to the graphics hardware.