Function Prototype

vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT

Get acceleration structure opaque capture descriptor data

To get the opaque capture descriptor data for an acceleration structure, call:

VkResult vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT(
    VkDevice device,
    const VkAccelerationStructureCaptureDescriptorDataInfoEXT* pInfo,
    void* pData);
  • device is the logical device that gets the data.
  • pInfo is a pointer to a VkAccelerationStructureCaptureDescriptorDataInfoEXT structure specifying the acceleration structure.
  • pData is a pointer to an application-allocated buffer where the data will be written.

Valid Usage

VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-pData-08089

pData must point to a buffer that is at least VkPhysicalDeviceDescriptorBufferPropertiesEXT::accelerationStructureCaptureReplayDescriptorDataSize bytes in size

VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-device-08090

If device was created with multiple physical devices, then the bufferDeviceAddressMultiDevice feature must be enabled