vkCopyImageToImage(3)
C Specification
To copy data from an image object to another image object using the host, call:
// Provided by VK_VERSION_1_4
VkResult vkCopyImageToImage(
VkDevice device,
const VkCopyImageToImageInfo* pCopyImageToImageInfo);
or the equivalent command
// Provided by VK_EXT_host_image_copy
VkResult vkCopyImageToImageEXT(
VkDevice device,
const VkCopyImageToImageInfo* pCopyImageToImageInfo);
Parameters
-
device
is the device which ownspCopyImageToImageInfo->srcImage
andpCopyImageToImageInfo->dstImage
. -
pCopyImageToImageInfo
is a pointer to a VkCopyImageToImageInfo structure describing the copy parameters.
Description
This command is functionally similar to vkCmdCopyImage2, except it is
executed on the host.
The memory of pCopyImageToImageInfo->srcImage
and
pCopyImageToImageInfo->dstImage
is accessed by the host as if
coherent.
If the device has written to the memory of
Because queue submissions automatically make host memory visible to the device, there would not be a
need for a memory barrier before using the results of this copy operation in
|
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.