Structures

VkReleaseSwapchainImagesInfoKHR

Structure describing a list of swapchain image indices to be released

The VkReleaseSwapchainImagesInfoKHR structure is defined as:

typedef struct VkReleaseSwapchainImagesInfoKHR {
    VkStructureType sType;
    const void* pNext;
    VkSwapchainKHR swapchain;
    uint32_t imageIndexCount;
    const uint32_t* pImageIndices;
} VkReleaseSwapchainImagesInfoKHR;
typedef VkReleaseSwapchainImagesInfoKHR VkReleaseSwapchainImagesInfoEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • swapchain is a swapchain to which images are being released.
  • imageIndexCount is the number of image indices to be released.
  • pImageIndices is a pointer to an array of indices into the array of swapchain’s presentable images, with imageIndexCount entries.

Valid Usage

VUID-VkReleaseSwapchainImagesInfoKHR-pImageIndices-07785

Each element of pImageIndices must be the index of a presentable image acquired from the swapchain specified by swapchain

VUID-VkReleaseSwapchainImagesInfoKHR-pImageIndices-07786

All uses of presentable images identified by elements of pImageIndices must have completed execution

Valid Usage (Implicit)

VUID-VkReleaseSwapchainImagesInfoKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_KHR

VUID-VkReleaseSwapchainImagesInfoKHR-pImageIndices-parameter

pImageIndices must be a valid pointer to an array of imageIndexCount uint32_t values

Host Synchronization

  • Host access to swapchain must be externally synchronized