C Specification
To copy data from host memory to an image object, call:
// Provided by VK_EXT_host_image_copy
VkResult vkCopyMemoryToImageEXT(
VkDevice device,
const VkCopyMemoryToImageInfoEXT* pCopyMemoryToImageInfo);
Parameters
-
device
is the device which ownspCopyMemoryToImageInfo->dstImage
. -
pCopyMemoryToImageInfo
is a pointer to a VkCopyMemoryToImageInfoEXT structure describing the copy parameters.
Description
This command is functionally similar to vkCmdCopyBufferToImage2, except it is executed on the host and reads from host memory instead of a buffer.
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.