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