Function vulkano::swapchain::present [] [src]

pub fn present<F>(
    swapchain: Arc<Swapchain>,
    before: F,
    queue: Arc<Queue>,
    index: usize
) -> PresentFuture<F> where
    F: GpuFuture

Presents an image on the screen.

The parameter is the same index as what acquire_next_image returned. The image must have been acquired first.

The actual behavior depends on the present mode that you passed when creating the swapchain.