vulkan-3.4: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Core11.Enums.SamplerYcbcrModelConversion

Synopsis

Documentation

newtype SamplerYcbcrModelConversion Source #

VkSamplerYcbcrModelConversion - Color model component of a color space

Description

In the VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_* color models, for the input to the sampler Y′CBCR range expansion and model conversion:

  • the Y (Y′ luma) channel corresponds to the G channel of an RGB image.
  • the CB (CB or “U” blue color difference) channel corresponds to the B channel of an RGB image.
  • the CR (CR or “V” red color difference) channel corresponds to the R channel of an RGB image.
  • the alpha channel, if present, is not modified by color model conversion.

These rules reflect the mapping of channels after the channel swizzle operation (controlled by SamplerYcbcrConversionCreateInfo::components).

Note

For example, an “YUVA” 32-bit format comprising four 8-bit channels can be implemented as FORMAT_R8G8B8A8_UNORM with a component mapping:

See Also

AndroidHardwareBufferFormatPropertiesANDROID, SamplerYcbcrConversionCreateInfo

Instances

Instances details
Eq SamplerYcbcrModelConversion Source # 
Instance details

Defined in Vulkan.Core11.Enums.SamplerYcbcrModelConversion

Ord SamplerYcbcrModelConversion Source # 
Instance details

Defined in Vulkan.Core11.Enums.SamplerYcbcrModelConversion

Read SamplerYcbcrModelConversion Source # 
Instance details

Defined in Vulkan.Core11.Enums.SamplerYcbcrModelConversion

Show SamplerYcbcrModelConversion Source # 
Instance details

Defined in Vulkan.Core11.Enums.SamplerYcbcrModelConversion

Storable SamplerYcbcrModelConversion Source # 
Instance details

Defined in Vulkan.Core11.Enums.SamplerYcbcrModelConversion

Zero SamplerYcbcrModelConversion Source # 
Instance details

Defined in Vulkan.Core11.Enums.SamplerYcbcrModelConversion