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

pub fn present<F, W>(
    swapchain: Arc<Swapchain<W>>,
    before: F,
    queue: Arc<Queue>,
    index: usize
) -> PresentFuture<F, W> 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.