VkCopyMemoryToAccelerationStructureInfoKHR(3)
Name
VkCopyMemoryToAccelerationStructureInfoKHR - Parameters for deserializing an acceleration structure
C Specification
The VkCopyMemoryToAccelerationStructureInfoKHR structure is defined
as:
// Provided by VK_KHR_acceleration_structure
typedef struct VkCopyMemoryToAccelerationStructureInfoKHR {
VkStructureType sType;
const void* pNext;
VkDeviceOrHostAddressConstKHR src;
VkAccelerationStructureKHR dst;
VkCopyAccelerationStructureModeKHR mode;
} VkCopyMemoryToAccelerationStructureInfoKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
srcis the device or host address of memory containing the source data for the copy. -
dstis the target acceleration structure for the copy. -
modeis a VkCopyAccelerationStructureModeKHR value specifying additional operations to perform during the copy.
Description
If the serialized data in src represents a top-level acceleration
structure, dst must have been created with a value of
VkAccelerationStructureCreateInfoKHR::type equal to either
VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR or
VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR.
If the serialized data in src represents a bottom-level acceleration
structure, dst must have been created with a value of
VkAccelerationStructureCreateInfoKHR::type equal to either
VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR or
VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR.
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.