internal SharpVulkan.Semaphore ReleaseAcquirementSemaphore() { var semaphore = acquirementSemaphore; acquirementSemaphore = SharpVulkan.Semaphore.Null; return(semaphore); }
private void AcquireNextImage() { acquirementSemaphore = acquirementSemaphores[nextAcquirementSemaphoreIndex]; nextAcquirementSemaphoreIndex += 1; nextAcquirementSemaphoreIndex %= acquirementSemaphores.Length; backbufferIndex = context.Device.AcquireNextImage(swapchain, ulong.MaxValue, acquirementSemaphore, SharpVulkan.Fence.Null); }