To copy data from a buffer object to an image object, call:
// Provided by VK_KHR_copy_commands2 void vkCmdCopyBufferToImage2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2KHR* pCopyBufferToImageInfo);
commandBufferis the command buffer into which the command will be recorded.
pCopyBufferToImageInfois a pointer to a VkCopyBufferToImageInfo2KHR structure describing the copy parameters.
This command is functionally identical to vkCmdCopyBufferToImage, but
includes extensible sub-structures that include
parameters, allowing them to be more easily extended.
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.