Function Prototype
vkDestroySamplerYcbcrConversion
Destroy a created {YCbCr} conversion
To destroy a sampler Y′CBCR conversion, call:
void vkDestroySamplerYcbcrConversion(
VkDevice device,
VkSamplerYcbcrConversion ycbcrConversion,
const VkAllocationCallbacks* pAllocator);
pub fn destroy_sampler_ycbcr_conversion(
device: vk::Device,
ycbcr_conversion: vk::SamplerYcbcrConversion,
p_allocator: *const vk::AllocationCallbacks,
);
void vkDestroySamplerYcbcrConversionKHR(
VkDevice device,
VkSamplerYcbcrConversion ycbcrConversion,
const VkAllocationCallbacks* pAllocator);
pub fn destroy_sampler_ycbcr_conversion_khr(
device: vk::Device,
ycbcr_conversion: vk::SamplerYcbcrConversion,
p_allocator: *const vk::AllocationCallbacks,
);
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
Parent
VK_VERSION_1_1Type
Function Prototype