C Specification
To copy data between two memory regions by specifying copy parameters indirectly in a buffer, call:
// Provided by VK_NV_copy_memory_indirect
void vkCmdCopyMemoryIndirectNV(
VkCommandBuffer commandBuffer,
VkDeviceAddress copyBufferAddress,
uint32_t copyCount,
uint32_t stride);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
copyBufferAddress
is the buffer address specifying the copy parameters. This buffer is laid out in memory as an array of VkCopyMemoryIndirectCommandNV structures. -
copyCount
is the number of copies to execute, and can be zero. -
stride
is the stride in bytes between successive sets of copy parameters.
Description
Each region read from copyBufferAddress
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.