Function Prototype
vkGetImageViewOpaqueCaptureDescriptorDataEXT
Get image view opaque capture descriptor data
To get the opaque capture descriptor data for an image view, call:
VkResult vkGetImageViewOpaqueCaptureDescriptorDataEXT(
VkDevice device,
const VkImageViewCaptureDescriptorDataInfoEXT* pInfo,
void* pData);
pub fn get_image_view_opaque_capture_descriptor_data_ext(
device: vk::Device,
p_info: *const vk::ImageViewCaptureDescriptorDataInfoEXT,
p_data: *mut c_void,
) -> vk::Result;
deviceis the logical device that gets the data.pInfois a pointer to a VkImageViewCaptureDescriptorDataInfoEXT structure specifying the image view.pDatais a pointer to an application-allocated buffer where the data will be written.
Valid Usage
VUID-vkGetImageViewOpaqueCaptureDescriptorDataEXT-None-08080
The descriptorBufferCaptureReplay feature must be enabled
VUID-vkGetImageViewOpaqueCaptureDescriptorDataEXT-pData-08081
pData must point to a buffer that is at least
VkPhysicalDeviceDescriptorBufferPropertiesEXT::imageViewCaptureReplayDescriptorDataSize
bytes in size
VUID-vkGetImageViewOpaqueCaptureDescriptorDataEXT-device-08082
If device was created with multiple physical devices, then the
bufferDeviceAddressMultiDevice feature must be enabled
Valid Usage (Implicit)
VUID-vkGetImageViewOpaqueCaptureDescriptorDataEXT-device-parameter
device must be a valid VkDevice handle
VUID-vkGetImageViewOpaqueCaptureDescriptorDataEXT-pInfo-parameter
pInfo must be a valid pointer to a valid VkImageViewCaptureDescriptorDataInfoEXT structure
VUID-vkGetImageViewOpaqueCaptureDescriptorDataEXT-pData-parameter
pData must be a pointer value
Parent
VK_EXT_descriptor_bufferType
Function Prototype
Return Values
VK_SUCCESS
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED