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);
deviceis the logical device that destroys the Y′CBCR conversion.ycbcrConversionis the conversion to destroy.pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
Valid Usage (Implicit)
VUID-vkDestroySamplerYcbcrConversion-device-parameter
device must be a valid VkDevice handle
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
ycbcrConversionmust be externally synchronized ::