VKINCOMPLETE
VK_INCOMPLETE is a value in the Vulkan API that signals an incomplete enumeration rather than a fatal error. It is part of the VkResult set of return codes and is used to indicate that a function did not return all available data in the provided output array because there are more items to enumerate.
VK_INCOMPLETE is commonly returned by enumeration functions such as vkEnumerateInstanceLayerProperties, vkEnumerateInstanceExtensionProperties, and vkEnumeratePhysicalDevices. When the number
- Call an enumeration function with a request for the count of items to determine how much space
- Allocate an output array of the reported size.
- Call again to retrieve items. If VK_INCOMPLETE is returned, reallocate or resize and call again until
If there are no items, the function may return VK_SUCCESS with a zero count. Different implementations may
VK_SUCCESS, VK_NOT_READY, other VkResult codes, and Vulkan enumeration patterns.