namespace Brutal.VulkanApi { /// /// VkFragmentShadingRateCombinerOpKHR - Control how fragment shading rates are combined /// /// /// /// The equation used for each combiner operation is defined by /// VkFragmentShadingRateCombinerOpKHR: /// /// /// // Provided by VK_KHR_fragment_shading_rate /// typedef enum VkFragmentShadingRateCombinerOpKHR { /// VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR = 0, /// VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR = 1, /// VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR = 2, /// VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR = 3, /// VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR = 4, /// } VkFragmentShadingRateCombinerOpKHR; /// /// public enum VkFragmentShadingRateCombinerOpKHR : int { /// /// KeepKHR specifies a combiner operation of combine(A~xy~,B~xy~) = A~xy~. /// KeepKHR = 0, /// /// ReplaceKHR specifies a combiner operation of combine(A~xy~,B~xy~) = B~xy~. /// ReplaceKHR = 1, /// /// MinKHR specifies a combiner operation of combine(A~xy~,B~xy~) = min(A~xy~,B~xy~). /// MinKHR = 2, /// /// MaxKHR specifies a combiner operation of combine(A~xy~,B~xy~) = max(A~xy~,B~xy~). /// MaxKHR = 3, /// /// MulKHR specifies a combiner operation of combine(A~xy~,B~xy~) = A~xy~*B~xy~. where combine(A~xy~,B~xy~) is the combine operation, and A~xy~ and B~xy~ are the inputs to the operation. If fragmentShadingRateStrictMultiplyCombiner^ is VK_FALSE, using VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR with values of 1 for both A and B in the same dimension results in the value 2 being produced for that dimension. See the definition of fragmentShadingRateStrictMultiplyCombiner^ for more information. These operations are performed in a component-wise fashion. /// MulKHR = 4, /// /// MaxEnumKHR /// MaxEnumKHR = 0x7FFFFFFF, } }