Structures

VkCopyMicromapInfoEXT

Parameters for copying a micromap

The VkCopyMicromapInfoEXT structure is defined as:

typedef struct VkCopyMicromapInfoEXT {
    VkStructureType sType;
    const void* pNext;
    VkMicromapEXT src;
    VkMicromapEXT dst;
    VkCopyMicromapModeEXT mode;
} VkCopyMicromapInfoEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • src is the source micromap for the copy.
  • dst is the target micromap for the copy.
  • mode is a VkCopyMicromapModeEXT value specifying additional operations to perform during the copy.

Valid Usage

VUID-VkCopyMicromapInfoEXT-mode-07531

mode must be VK_COPY_MICROMAP_MODE_COMPACT_EXT or VK_COPY_MICROMAP_MODE_CLONE_EXT

VUID-VkCopyMicromapInfoEXT-src-07532

The source acceleration structure src must have been constructed prior to the execution of this command

VUID-VkCopyMicromapInfoEXT-mode-07533

If mode is VK_COPY_MICROMAP_MODE_COMPACT_EXT, srcmust have been constructed with VK_BUILD_MICROMAP_ALLOW_COMPACTION_BIT_EXT in the build

VUID-VkCopyMicromapInfoEXT-buffer-07534

The buffer used to create src must be bound to device memory

VUID-VkCopyMicromapInfoEXT-buffer-07535

The buffer used to create dst must be bound to device memory

Valid Usage (Implicit)

VUID-VkCopyMicromapInfoEXT-sType-sType

sType must be VK_STRUCTURE_TYPE_COPY_MICROMAP_INFO_EXT

VUID-VkCopyMicromapInfoEXT-commonparent

Both of dst, and src must have been created, allocated, or retrieved from the same VkDevice