Function Prototype

vkDestroySamplerYcbcrConversion

Destroy a created {YCbCr} conversion

To destroy a sampler Y′CBCR conversion, call:

void vkDestroySamplerYcbcrConversionKHR(
    VkDevice device,
    VkSamplerYcbcrConversion ycbcrConversion,
    const VkAllocationCallbacks* pAllocator);
  • device is the logical device that destroys the Y′CBCR conversion.
  • ycbcrConversion is the conversion to destroy.
  • pAllocator controls host memory allocation as described in the Memory Allocation chapter.

Valid Usage (Implicit)

VUID-vkDestroySamplerYcbcrConversion-ycbcrConversion-parameter

If ycbcrConversion is not VK_NULL_HANDLE, ycbcrConversion must be a valid VkSamplerYcbcrConversion handle

VUID-vkDestroySamplerYcbcrConversion-pAllocator-parameter

If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure

VUID-vkDestroySamplerYcbcrConversion-ycbcrConversion-parent

If ycbcrConversion is a valid handle, it must have been created, allocated, or retrieved from device

Host Synchronization

  • Host access to ycbcrConversion must be externally synchronized ::