This extension provides the ability to perform specified color space conversions during texture sampling operations for the Y′CBCR color space natively. It also adds a selection of multi-planar formats, image aspect plane, and the ability to bind memory to the planes of an image collectively or separately.
All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. However, if Vulkan 1.1 is supported and this extension is not, the samplerYcbcrConversion capability is optional. The original type, enum and command names are still available as aliases of the core functionality.
VK_KHR_sampler_ycbcr_conversionVK_KHR_maintenance1 and VK_KHR_bind_memory2 and VK_KHR_get_memory_requirements2 and VK_KHR_get_physical_device_properties2| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkCreateSamplerYcbcrConversionKHR(VkDevice device, long pCreateInfo, long pAllocator, long pYcbcrConversion)
Unsafe version of: |
| public static void | nvkDestroySamplerYcbcrConversionKHR(VkDevice device, long ycbcrConversion, long pAllocator)
Unsafe version of: |
| public static int | vkCreateSamplerYcbcrConversionKHR(VkDevice
the logical device that creates the sampler Y′CBCR conversion. device, VkSamplerYcbcrConversionCreateInfo a pointer to a pCreateInfo, VkAllocationCallbacks VkSamplerYcbcrConversionCreateInfo structure specifying the requested sampler Y′CBCR conversion.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a pYcbcrConversion)VkSamplerYcbcrConversion handle in which the resulting sampler Y′CBCR conversion is returned. |
| public static int | vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfo pCreateInfo, VkAllocationCallbacks pAllocator, long[] pYcbcrConversion)
Array version of: |
| public static void | vkDestroySamplerYcbcrConversionKHR(VkDevice
the logical device that destroys the Y′CBCR conversion. device, long the conversion to destroy. ycbcrConversion, VkAllocationCallbacks controls host memory allocation as described in the Memory Allocation chapter. pAllocator) |