namespace Brutal.VulkanApi { /// /// VkSamplerYcbcrConversionInfo - Structure specifying {YCbCr} conversion to a sampler or image view /// /// /// /// To create a sampler with {YCbCr} conversion enabled, add a /// VkSamplerYcbcrConversionInfo structure to the pNext chain of the /// VkSamplerCreateInfo structure. /// To create a sampler {YCbCr} conversion, the /// samplerYcbcrConversion^ feature /// must be enabled. /// Conversion must be fixed at pipeline creation time, through use of /// a combined image sampler with an immutable sampler in /// VkDescriptorSetLayoutBinding. /// /// /// A VkSamplerYcbcrConversionInfo must be provided for samplers to be /// used with image views that access VK_IMAGE_ASPECT_COLOR_BIT if the /// format is one of the formats /// that require a sampler {YCbCr} conversion^ /// . /// /// /// The VkSamplerYcbcrConversionInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkSamplerYcbcrConversionInfo { /// VkStructureType sType; /// const void* pNext; /// VkSamplerYcbcrConversion conversion; /// } VkSamplerYcbcrConversionInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkSamplerYCbCrConversionInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SamplerYCbCrConversionInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Conversion is a VkSamplerYcbcrConversion handle created with vkCreateSamplerYcbcrConversion. /// [FieldOffset(16)] public VkSamplerYCbCrConversion Conversion; } }