pub fn present<T: AsRef<str>>(
compositor: &mut Compositor,
renderer: &mut Renderer,
surface: &mut Surface<'static>,
viewport: &Viewport,
background_color: Color,
overlay: &[T],
) -> Result<(), SurfaceError>
Expand description
Presents the given primitives with the given Compositor
.