cmdCopyMemoryIndirectKHR :: MonadIO io=> CommandBuffercommandBufferis the command buffer into which the command will be recorded.-> CopyMemoryIndirectInfoKHRpCopyMemoryIndirectInfois a pointer to a CopyMemoryIndirectInfoKHR structure containing the copy parameters, including the number of copies to execute and a strided array of CopyMemoryIndirectCommandKHR structures.-> io ()
vkCmdCopyMemoryIndirectKHR - Copy data between memory regions
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.
Valid Usage
The indirectMemoryCopy feature must be enabled
The CommandPool that
commandBufferwas allocated from must support at least one of the queue types specified in PhysicalDeviceCopyMemoryIndirectPropertiesKHR::supportedQueuescommandBuffermust not be a protected command buffer
Valid Usage (Implicit)
commandBuffermust be a valid CommandBuffer handle
pCopyMemoryIndirectInfomust be a valid pointer to a valid CopyMemoryIndirectInfoKHR structurecommandBuffermust be in the recording stateThe CommandPool that
commandBufferwas allocated from must support QUEUE_COMPUTE_BIT, QUEUE_GRAPHICS_BIT, or QUEUE_TRANSFER_BIT operationsThis command must only be called outside of a render pass instance
This command must not be called between suspended render pass instances
This command must only be called outside of a video coding scope
Host Synchronization
Host access to
commandBuffermust be externally synchronized
Host access to the CommandPool that
commandBufferwas allocated from must be externally synchronized
Command Properties
'
Primary Secondary | Outside | Outside | VK_QUEUE_COMPUTE_BIT VK_QUEUE_GRAPHICS_BIT VK_QUEUE_TRANSFER_BIT | Action |
Conditional Rendering
vkCmdCopyMemoryIndirectKHR is not affected by conditional rendering
See Also
VK_KHR_copy_memory_indirect, CommandBuffer, CopyMemoryIndirectInfoKHR