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
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is a bitmask of VkHostImageCopyFlagBitsEXT values describing additional copy parameters. -
srcImage
is the source image. -
srcImageLayout
is the layout of the source image subresources for the copy. -
regionCount
is the number of regions to copy. -
pRegions
is 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.