C Specification
The structure describing source and destination memory regions,
VkCopyMemoryToImageIndirectCommandKHR is defined as:
// Provided by VK_KHR_copy_memory_indirect
typedef struct VkCopyMemoryToImageIndirectCommandKHR {
VkDeviceAddress srcAddress;
uint32_t bufferRowLength;
uint32_t bufferImageHeight;
VkImageSubresourceLayers imageSubresource;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
} VkCopyMemoryToImageIndirectCommandKHR;
or the equivalent
// Provided by VK_NV_copy_memory_indirect
typedef VkCopyMemoryToImageIndirectCommandKHR VkCopyMemoryToImageIndirectCommandNV;
Members
-
srcAddressis the starting address of the source device memory to copy from. -
bufferRowLengthandbufferImageHeightspecify in texels a subregion of a larger two- or three-dimensional image in buffer memory, and control the addressing calculations. If either of these values is zero, that aspect of the buffer memory is considered to be tightly packed according to theimageExtent. -
imageSubresourceis a VkImageSubresourceLayers structure used to specify the specific image subresources of the image used for the destination image data, which must match the value specified in corresponding index of thepCopyMemoryToImageIndirectInfo->pImageSubresourcesarray of vkCmdCopyMemoryToImageIndirectKHR during command recording. -
imageOffsetselects the initialx,y,zoffsets in texels of the sub-region of the destination image data. -
imageExtentis the size in texels of the destination image inwidth,heightanddepth.
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.