Function Prototype
vkGetBufferOpaqueCaptureDescriptorDataEXT
Get buffer opaque capture descriptor data
To get the opaque descriptor data for a buffer, call:
VkResult vkGetBufferOpaqueCaptureDescriptorDataEXT(
VkDevice device,
const VkBufferCaptureDescriptorDataInfoEXT* pInfo,
void* pData);
device
is the logical device that gets the data.pInfo
is a pointer to a VkBufferCaptureDescriptorDataInfoEXT structure specifying the buffer.pData
is a pointer to an application-allocated buffer where the data will be written.
Valid Usage
VUID-vkGetBufferOpaqueCaptureDescriptorDataEXT-None-08072
The descriptorBufferCaptureReplay
feature must be enabled
VUID-vkGetBufferOpaqueCaptureDescriptorDataEXT-pData-08073
pData
must point to a buffer that is at least
VkPhysicalDeviceDescriptorBufferPropertiesEXT::bufferCaptureReplayDescriptorDataSize
bytes in size
VUID-vkGetBufferOpaqueCaptureDescriptorDataEXT-device-08074
If device
was created with multiple physical devices, then the
bufferDeviceAddressMultiDevice
feature must be enabled
Valid Usage (Implicit)
VUID-vkGetBufferOpaqueCaptureDescriptorDataEXT-device-parameter
device
must be a valid VkDevice handle
VUID-vkGetBufferOpaqueCaptureDescriptorDataEXT-pInfo-parameter
pInfo
must be a valid pointer to a valid VkBufferCaptureDescriptorDataInfoEXT structure
VUID-vkGetBufferOpaqueCaptureDescriptorDataEXT-pData-parameter
pData
must be a pointer value