namespace Brutal.VulkanApi { /// /// VkColorBlendEquationEXT - Structure specifying the color blend factors and operations for an attachment /// /// /// /// The VkColorBlendEquationEXT structure is defined as: /// /// /// // Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object /// typedef struct VkColorBlendEquationEXT { /// VkBlendFactor srcColorBlendFactor; /// VkBlendFactor dstColorBlendFactor; /// VkBlendOp colorBlendOp; /// VkBlendFactor srcAlphaBlendFactor; /// VkBlendFactor dstAlphaBlendFactor; /// VkBlendOp alphaBlendOp; /// } VkColorBlendEquationEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public partial struct VkColorBlendEquationEXT() { /// /// SrcColorBlendFactor selects which blend factor is used to determine the source factors (S~r~,S~g~,S~b~). /// [FieldOffset(0)] public VkBlendFactor SrcColorBlendFactor; /// /// DstColorBlendFactor selects which blend factor is used to determine the destination factors (D~r~,D~g~,D~b~). /// [FieldOffset(4)] public VkBlendFactor DstColorBlendFactor; /// /// ColorBlendOp selects which blend operation is used to calculate the RGB values to write to the color attachment. /// [FieldOffset(8)] public VkBlendOp ColorBlendOp; /// /// SrcAlphaBlendFactor selects which blend factor is used to determine the source factor S~a~. /// [FieldOffset(12)] public VkBlendFactor SrcAlphaBlendFactor; /// /// DstAlphaBlendFactor selects which blend factor is used to determine the destination factor D~a~. /// [FieldOffset(16)] public VkBlendFactor DstAlphaBlendFactor; /// /// AlphaBlendOp selects which blend operation is use to calculate the alpha values to write to the color attachment. /// [FieldOffset(20)] public VkBlendOp AlphaBlendOp; } }