wisdom
Loading...
Searching...
No Matches
WisReductionMode Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef enum WisReductionMode {
WisReductionModeStandard = 0,
WisReductionModeMin = 1,
WisReductionModeMax = 2,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class ReductionMode {
Standard = 0,
Min = 1,
Max = 2,
};
}

Description


Reduction mode for texture sampling when min and mag filters are different.

Note
Translates to D3D12_FILTER_REDUCTION_TYPE for DirectX 12 implementation, and VkSamplerReductionModeEXT for Vulkan implementation.

Values:

  • WisReductionModeStandard = 0: Standard filtering behavior.
  • WisReductionModeMin = 1: Use the minimum value of the samples for filtering.
  • WisReductionModeMax = 2: Use the maximum value of the samples for filtering.

See Also


See also
Structs: WisSamplerDesc