Structures

VkCopyDeviceMemoryInfoKHR

Structure specifying a buffer copy operation

The VkCopyDeviceMemoryInfoKHR structure is defined as:

typedef struct VkCopyDeviceMemoryInfoKHR {
    VkStructureType sType;
    const void* pNext;
    uint32_t regionCount;
    const VkDeviceMemoryCopyKHR* pRegions;
} VkCopyDeviceMemoryInfoKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • regionCount is the number of copies to be performed.
  • pRegions is a pointer to an array of VkDeviceMemoryCopyKHR structures describing individual copy operations between two memory ranges.

Valid Usage

VUID-VkCopyDeviceMemoryInfoKHR-srcRange-13015

The range of memory backing the address range defined by the srcRange member of any element of pRegions must not overlap the memory backing the address range defined by the srcRange or dstRange of any element of pRegions

Valid Usage (Implicit)

VUID-VkCopyDeviceMemoryInfoKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_COPY_DEVICE_MEMORY_INFO_KHR

VUID-VkCopyDeviceMemoryInfoKHR-pRegions-parameter

pRegions must be a valid pointer to an array of regionCount valid VkDeviceMemoryCopyKHR structures