Class VkSamplerYcbcrConversionCreateInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSamplerYcbcrConversionCreateInfo>
org.lwjgl.vulkan.VkSamplerYcbcrConversionCreateInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkSamplerYcbcrConversionCreateInfoKHR

public class VkSamplerYcbcrConversionCreateInfo extends org.lwjgl.system.Struct<VkSamplerYcbcrConversionCreateInfo> implements org.lwjgl.system.NativeResource
Structure specifying the parameters of the newly created conversion.
Description
Note

Setting forceExplicitReconstruction to TRUE may have a performance penalty on implementations where explicit reconstruction is not the default mode of operation.

If format supports FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT the forceExplicitReconstruction value behaves as if it were TRUE.

If the pNext chain includes a VkExternalFormatANDROID structure with non-zero externalFormat member, the sampler Y′CBCR conversion object represents an external format conversion, and format must be FORMAT_UNDEFINED. Such conversions must only be used to sample image views with a matching external format. When creating an external format conversion, the value of components is ignored.

Valid Usage
Valid Usage (Implicit)

If chromaFilter is FILTER_NEAREST, chroma samples are reconstructed to luma component resolution using nearest-neighbour sampling. Otherwise, chroma samples are reconstructed using interpolation. More details can be found in the description of sampler Y′CBCR conversion in the Image Operations chapter.

See Also

VkComponentMapping, CreateSamplerYcbcrConversion, CreateSamplerYcbcrConversionKHR

Layout


 struct VkSamplerYcbcrConversionCreateInfo {
     VkStructureType sType();
     void const * pNext();
     VkFormat format();
     VkSamplerYcbcrModelConversion ycbcrModel();
     VkSamplerYcbcrRange ycbcrRange();
     VkComponentMapping components();
     VkChromaLocation xChromaOffset();
     VkChromaLocation yChromaOffset();
     VkFilter chromaFilter();
     VkBool32 forceExplicitReconstruction();
 }