namespace Brutal.VulkanApi
{
///
/// VkSamplerYcbcrConversionCreateInfo - Structure specifying the parameters of the newly created conversion
///
///
///
/// The VkSamplerYcbcrConversionCreateInfo structure is defined as:
///
///
/// // Provided by VK_VERSION_1_1
/// typedef struct VkSamplerYcbcrConversionCreateInfo {
/// VkStructureType sType;
/// const void* pNext;
/// VkFormat format;
/// VkSamplerYcbcrModelConversion ycbcrModel;
/// VkSamplerYcbcrRange ycbcrRange;
/// VkComponentMapping components;
/// VkChromaLocation xChromaOffset;
/// VkChromaLocation yChromaOffset;
/// VkFilter chromaFilter;
/// VkBool32 forceExplicitReconstruction;
/// } VkSamplerYcbcrConversionCreateInfo;
///
///
[StructLayout(LayoutKind.Explicit, Size = 64)]
public unsafe partial struct VkSamplerYCbCrConversionCreateInfo()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.SamplerYCbCrConversionCreateInfo;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// Format is the format of the image from which color information will be retrieved.
///
[FieldOffset(16)]
public VkFormat Format;
///
/// YcbcrModel describes the color matrix for conversion between color models.
///
[FieldOffset(20)]
public VkSamplerYCbCrModelConversion YcbcrModel;
///
/// YcbcrRange describes whether the encoded values have headroom and foot room, or whether the encoding uses the full numerical range.
///
[FieldOffset(24)]
public VkSamplerYCbCrRange YcbcrRange;
///
/// Components applies a swizzle based on VkComponentSwizzle enums prior to range expansion and color model conversion.
///
[FieldOffset(28)]
public VkComponentMapping Components;
///
/// XChromaOffset describes the sample location^ associated with downsampled chroma components in the x dimension. xChromaOffset has no effect for formats in which chroma components are not downsampled horizontally.
///
[FieldOffset(44)]
public VkChromaLocation XChromaOffset;
///
/// YChromaOffset describes the sample location^ associated with downsampled chroma components in the y dimension. yChromaOffset has no effect for formats in which the chroma components are not downsampled vertically.
///
[FieldOffset(48)]
public VkChromaLocation YChromaOffset;
///
/// ChromaFilter is the filter for chroma reconstruction.
///
[FieldOffset(52)]
public VkFilter ChromaFilter;
///
/// ForceExplicitReconstruction can be used to ensure that reconstruction is done explicitly, if supported.
///
[FieldOffset(56)]
public Brutal.Bool32 ForceExplicitReconstruction;
}
}