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;
pub struct ReleaseSwapchainImagesInfoKHR {
s_type: vk::StructureType,
p_next: *const c_void,
swapchain: vk::SwapchainKHR, // Swapchain for which images are being released
image_index_count: u32, // Number of indices to release
p_image_indices: *const u32, // Indices of which presentable images to release
}
typedef VkReleaseSwapchainImagesInfoKHR VkReleaseSwapchainImagesInfoEXT;
type ReleaseSwapchainImagesInfoEXT = vk::ReleaseSwapchainImagesInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.swapchainis a swapchain to which images are being released.imageIndexCountis the number of image indices to be released.pImageIndicesis a pointer to an array of indices into the array ofswapchain’s presentable images, withimageIndexCountentries.
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-pNext-pNext
pNext must be NULL
VUID-VkReleaseSwapchainImagesInfoKHR-swapchain-parameter
swapchain must be a valid VkSwapchainKHR handle
VUID-VkReleaseSwapchainImagesInfoKHR-pImageIndices-parameter
pImageIndices must be a valid pointer to an array of imageIndexCount uint32_t values
VUID-VkReleaseSwapchainImagesInfoKHR-imageIndexCount-arraylength
imageIndexCount must be greater than 0
Host Synchronization
- Host access to
swapchainmust be externally synchronized
Type
Structures