namespace Brutal.VulkanApi { /// /// VkCompareOp - Comparison operator for depth, stencil, and sampler operations /// /// /// /// Comparison operators compare a reference and a test value, and return /// a true ("`passed`") or false ("`failed`") value depending on the comparison /// operator chosen. /// The supported operators are: /// /// /// // Provided by VK_VERSION_1_0 /// typedef enum VkCompareOp { /// VK_COMPARE_OP_NEVER = 0, /// VK_COMPARE_OP_LESS = 1, /// VK_COMPARE_OP_EQUAL = 2, /// VK_COMPARE_OP_LESS_OR_EQUAL = 3, /// VK_COMPARE_OP_GREATER = 4, /// VK_COMPARE_OP_NOT_EQUAL = 5, /// VK_COMPARE_OP_GREATER_OR_EQUAL = 6, /// VK_COMPARE_OP_ALWAYS = 7, /// } VkCompareOp; /// /// public enum VkCompareOp : int { /// /// Never specifies that the comparison always evaluates false. /// Never = 0, /// /// Less specifies that the comparison evaluates reference < test. /// Less = 1, /// /// Equal specifies that the comparison evaluates reference = test. /// Equal = 2, /// /// LessOrEqual specifies that the comparison evaluates reference <= test. /// LessOrEqual = 3, /// /// Greater specifies that the comparison evaluates reference > test. /// Greater = 4, /// /// NotEqual specifies that the comparison evaluates reference != test. /// NotEqual = 5, /// /// GreaterOrEqual specifies that the comparison evaluates reference >= test. /// GreaterOrEqual = 6, /// /// Always specifies that the comparison always evaluates true. Comparison operators are used for: /// Always = 7, /// /// MaxEnum /// MaxEnum = 0x7FFFFFFF, } }