To copy data from an image object to host memory, call:
// Provided by VK_EXT_host_image_copy VkResult vkCopyImageToMemoryEXT( VkDevice device, const VkCopyImageToMemoryInfoEXT* pCopyImageToMemoryInfo);
deviceis the device which owns
pCopyImageToMemoryInfois a pointer to a VkCopyImageToMemoryInfoEXT structure describing the copy parameters.
This command is functionally similar to vkCmdCopyImageToBuffer2, except it is executed on the host and writes to host memory instead of a buffer.
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.