[][src]Function vulkano::swapchain::acquire_next_image_raw

pub unsafe fn acquire_next_image_raw<W>(
    swapchain: &Swapchain<W>,
    timeout: Option<Duration>,
    semaphore: Option<&Semaphore>,
    fence: Option<&Fence>
) -> Result<AcquiredImage, AcquireError>

Unsafe variant of acquire_next_image.

Safety

  • The semaphore and/or the fence must be kept alive until it is signaled.
  • The swapchain must not have been replaced by being passed as the old swapchain when creating a new one.