Function tetra::graphics::present

source ·
pub fn present(ctx: &mut Context)
Expand description

Draws the currently enabled render target to the screen, scaling/letterboxing it if necessary.

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.