namespace Brutal.VulkanApi { /// /// VkSamplerReductionMode - Specify reduction mode for texture filtering /// /// /// /// Reduction modes are specified by VkSamplerReductionMode, which takes /// values: /// /// /// // Provided by VK_VERSION_1_2 /// typedef enum VkSamplerReductionMode { /// VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE = 0, /// VK_SAMPLER_REDUCTION_MODE_MIN = 1, /// VK_SAMPLER_REDUCTION_MODE_MAX = 2, /// // Provided by VK_QCOM_filter_cubic_clamp /// VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_RANGECLAMP_QCOM = 1000521000, /// // Provided by VK_EXT_sampler_filter_minmax /// VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT = VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, /// // Provided by VK_EXT_sampler_filter_minmax /// VK_SAMPLER_REDUCTION_MODE_MIN_EXT = VK_SAMPLER_REDUCTION_MODE_MIN, /// // Provided by VK_EXT_sampler_filter_minmax /// VK_SAMPLER_REDUCTION_MODE_MAX_EXT = VK_SAMPLER_REDUCTION_MODE_MAX, /// } VkSamplerReductionMode; /// /// public enum VkSamplerReductionMode : int { /// /// WeightedAverage specifies that texel values are combined by computing a weighted average of values in the footprint, using weights as specified in the image operations chapter^. /// WeightedAverage = 0, /// /// Min specifies that texel values are combined by taking the component-wise minimum of values in the footprint with non-zero weights. /// Min = 1, /// /// Max specifies that texel values are combined by taking the component-wise maximum of values in the footprint with non-zero weights. /// Max = 2, /// /// WeightedAverageRangeclampQCOM /// WeightedAverageRangeclampQCOM = 1000521000, /// /// WeightedAverageEXT /// WeightedAverageEXT = WeightedAverage, /// /// MinEXT /// MinEXT = Min, /// /// MaxEXT /// MaxEXT = Max, /// /// MaxEnum /// MaxEnum = 0x7FFFFFFF, } }