namespace Brutal.VulkanApi { /// /// VkColorBlendAdvancedEXT - Structure specifying the advanced blend operation parameters for an attachment /// /// /// /// The VkColorBlendAdvancedEXT structure is defined as: /// /// /// // Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object /// typedef struct VkColorBlendAdvancedEXT { /// VkBlendOp advancedBlendOp; /// VkBool32 srcPremultiplied; /// VkBool32 dstPremultiplied; /// VkBlendOverlapEXT blendOverlap; /// VkBool32 clampResults; /// } VkColorBlendAdvancedEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 20)] public partial struct VkColorBlendAdvancedEXT() { /// /// AdvancedBlendOp selects which blend operation is used to calculate the RGB values to write to the color attachment. /// [FieldOffset(0)] public VkBlendOp AdvancedBlendOp; /// /// SrcPremultiplied specifies whether the source color of the blend operation is treated as premultiplied. /// [FieldOffset(4)] public Brutal.Bool32 SrcPremultiplied; /// /// DstPremultiplied specifies whether the destination color of the blend operation is treated as premultiplied. /// [FieldOffset(8)] public Brutal.Bool32 DstPremultiplied; /// /// BlendOverlap is a VkBlendOverlapEXT value specifying how the source and destination sample's coverage is correlated. /// [FieldOffset(12)] public VkBlendOverlapEXT BlendOverlap; /// /// ClampResults specifies that results must be clamped to the [0,1] range before writing to the attachment, which is useful when the attachment format is not normalized fixed-point. /// [FieldOffset(16)] public Brutal.Bool32 ClampResults; } }