namespace Brutal.VulkanApi { /// /// VkLogicOp - Framebuffer logical operations /// /// /// /// Logical operations are controlled by the logicOpEnable and /// logicOp members of VkPipelineColorBlendStateCreateInfo. /// If logicOpEnable is VK_TRUE, then a logical operation selected /// by logicOp is applied between each color attachment and the fragment's /// corresponding output value, and blending of all attachments is treated as if /// it were disabled. /// Any attachments using color formats for which logical operations are not /// supported simply pass through the color values unmodified. /// The logical operation is applied independently for each of the red, green, /// blue, and alpha components. /// The logicOp is selected from the following operations: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkLogicOp { /// VK_LOGIC_OP_CLEAR = 0, /// VK_LOGIC_OP_AND = 1, /// VK_LOGIC_OP_AND_REVERSE = 2, /// VK_LOGIC_OP_COPY = 3, /// VK_LOGIC_OP_AND_INVERTED = 4, /// VK_LOGIC_OP_NO_OP = 5, /// VK_LOGIC_OP_XOR = 6, /// VK_LOGIC_OP_OR = 7, /// VK_LOGIC_OP_NOR = 8, /// VK_LOGIC_OP_EQUIVALENT = 9, /// VK_LOGIC_OP_INVERT = 10, /// VK_LOGIC_OP_OR_REVERSE = 11, /// VK_LOGIC_OP_COPY_INVERTED = 12, /// VK_LOGIC_OP_OR_INVERTED = 13, /// VK_LOGIC_OP_NAND = 14, /// VK_LOGIC_OP_SET = 15, /// } VkLogicOp; /// /// public enum VkLogicOp : int { /// /// Clear /// Clear = 0, /// /// And /// And = 1, /// /// AndReverse /// AndReverse = 2, /// /// Copy /// Copy = 3, /// /// AndInverted /// AndInverted = 4, /// /// NoOp /// NoOp = 5, /// /// Xor /// Xor = 6, /// /// Or /// Or = 7, /// /// Nor /// Nor = 8, /// /// Equivalent /// Equivalent = 9, /// /// Invert /// Invert = 10, /// /// OrReverse /// OrReverse = 11, /// /// CopyInverted /// CopyInverted = 12, /// /// OrInverted /// OrInverted = 13, /// /// Nand /// Nand = 14, /// /// Set /// Set = 15, /// /// MaxEnum /// MaxEnum = 0x7FFFFFFF, } }