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