Interface VulkanExtKHRSwapChainType.VulkanKHRSwapChainType

    • Method Detail

      • acquireImageWithSemaphore

        VulkanSwapChainImageAcquisition acquireImageWithSemaphore​(long timeout,
                                                                  VulkanSemaphoreType semaphore)
                                                           throws VulkanException
        Attempt to acquire an image from the swap chain. If timeout is 0, the method will return immediately. If timeout is 0xffffffff_ffffffff, the method will wait indefinitely.
        Parameters:
        semaphore - A semaphore that will be signalled when an image is available
        timeout - A timeout value in nanoseconds.
        Returns:
        An image acquisition
        Throws:
        VulkanException - On errors
      • acquireImageWithFence

        VulkanSwapChainImageAcquisition acquireImageWithFence​(long timeout,
                                                              VulkanFenceType fence)
                                                       throws VulkanException
        Attempt to acquire an image from the swap chain. If timeout is 0, the method will return immediately. If timeout is 0xffffffff_ffffffff, the method will wait indefinitely.
        Parameters:
        fence - A fence that will be signalled when an image is available
        timeout - A timeout value in nanoseconds.
        Returns:
        An image acquisition
        Throws:
        VulkanException - On errors
      • acquireImageWithSemaphoreAndFence

        VulkanSwapChainImageAcquisition acquireImageWithSemaphoreAndFence​(long timeout,
                                                                          VulkanSemaphoreType semaphore,
                                                                          VulkanFenceType fence)
                                                                   throws VulkanException
        Attempt to acquire an image from the swap chain. If timeout is 0, the method will return immediately. If timeout is 0xffffffff_ffffffff, the method will wait indefinitely.
        Parameters:
        fence - A fence that will be signalled when an image is available
        semaphore - A semaphore that will be signalled when an image is available
        timeout - A timeout value in nanoseconds.
        Returns:
        An image acquisition
        Throws:
        VulkanException - On errors