C Specification
To copy data between two memory regions by specifying copy parameters indirectly in memory, call:
// Provided by VK_KHR_copy_memory_indirect
void vkCmdCopyMemoryIndirectKHR(
VkCommandBuffer commandBuffer,
const VkCopyMemoryIndirectInfoKHR* pCopyMemoryIndirectInfo);
Parameters
-
commandBufferis the command buffer into which the command will be recorded. -
pCopyMemoryIndirectInfois a pointer to a VkCopyMemoryIndirectInfoKHR structure containing the copy parameters, including the number of copies to execute and a strided array of VkCopyMemoryIndirectCommandKHR structures.
Description
Each region specified in the memory referenced by
pCopyMemoryIndirectInfo->copyAddressRange is copied from the source
region to the specified destination region.
The results are undefined if any of the source and destination regions
overlap in memory.
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.