C Specification
The VkDeviceMemoryImageCopyKHR structure is defined as:
// Provided by VK_KHR_device_address_commands
typedef struct VkDeviceMemoryImageCopyKHR {
VkStructureType sType;
const void* pNext;
VkDeviceAddressRangeKHR addressRange;
VkAddressCommandFlagsKHR addressFlags;
uint32_t addressRowLength;
uint32_t addressImageHeight;
VkImageSubresourceLayers imageSubresource;
VkImageLayout imageLayout;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
} VkDeviceMemoryImageCopyKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
addressRangeis a VkDeviceAddressRangeKHR structure defining the address range accessed by the copy operation. -
addressFlagsis a VkAddressCommandFlagsKHR value defining the copy flags for the source address range. -
addressRowLengthspecifies the total number of texels in the address range representing a row of texels in the x dimension. Each new row of pixels in the copy will be read at an offset increment by this number of texels. -
addressImageHeightspecifies the total number of rows of texels in the address range representing a 2D slice of texels in the x and y dimensions. Each new 2D slice of pixels in the copy will be read at an offset increment by this number of rows of texels. -
imageSubresourceis a VkImageSubresourceLayers used to specify the specific image subresources of the image used for the source or destination image data. -
imageLayoutis the VkImageLayout of the image subresource accessed by this copy. -
imageOffsetselects the initialx,y,zoffsets in texels of the sub-region of the source or destination image data. -
imageExtentis the size in texels of the image to copy inwidth,heightanddepth.
Description
This structure defines a copy operation where srcRange.size bytes will
be copied from srcRange.address to dstRange.address.
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.