'Vulkan: Is the first acquired image at index 0?

When you acquire an image from the swapchain for the first time in a Vulkan application, is the index of that image 0? or is it undefined?



Solution 1:[1]

vkAcquireNextImageKHR tells you which image you get to use. The first call is not a special case.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nicol Bolas