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-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