VKACQUIRENEXTIMAGEKH(3)

NAME
vkAcquireNextImageKHR - Retrieve the index of the next available presentable image

C SPECIFICATION

To acquire an available presentable image to use, and retrieve the index of that image, call:

PARAMETERS

    • device is the device assocated with swapchain.

    • swapchain is the swapchain from which an image is being acquired.

    • timeout indicates how long the function waits, in nanoseconds, if no image is available.

    • semaphore is VK_NULL_HANDLE or a semaphore to signal.

    • fence is VK_NULL_HANDLE or a fence to signal.

    • pImageIndex is a pointer to a uint32_t that is set to the index of the next image to use (i.e. an index into the array of images returned by vkGetSwapchainImagesKHR).

DESCRIPTION

SEE ALSO

VkDevice, VkFence, VkSemaphore, VkSwapchainKHR

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkAcquireNextImageKHR

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.