Function vulkano::swapchain::acquire_next_image_raw
source · pub unsafe fn acquire_next_image_raw(
swapchain: &Swapchain,
timeout: Option<Duration>,
semaphore: Option<&Semaphore>,
fence: Option<&Fence>
) -> Result<AcquiredImage, AcquireError>
Expand description
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.