C Specification
The VkCopyImageToMemoryInfoEXT structure is defined as:
// Provided by VK_EXT_host_image_copy
typedef struct VkCopyImageToMemoryInfoEXT {
VkStructureType sType;
const void* pNext;
VkHostImageCopyFlagsEXT flags;
VkImage srcImage;
VkImageLayout srcImageLayout;
uint32_t regionCount;
const VkImageToMemoryCopyEXT* pRegions;
} VkCopyImageToMemoryInfoEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
flagsis a bitmask of VkHostImageCopyFlagBitsEXT values describing additional copy parameters. -
srcImageis the source image. -
srcImageLayoutis the layout of the source image subresources for the copy. -
regionCountis the number of regions to copy. -
pRegionsis a pointer to an array of VkImageToMemoryCopyEXT structures specifying the regions to copy.
Description
vkCopyImageToMemoryEXT does not check whether the device memory
associated with srcImage is currently in use before performing the
copy.
The application must guarantee that any previously submitted command that
writes to the copy regions has completed before the host performs the copy.
Copy regions for the image must be aligned to a multiple of the texel block extent in each dimension, except at the edges of the image, where region extents must match the edge of the image.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.