reductionMode
Sets the reduction mode for filtering contributing samples.
Declaration
var reductionMode: MTLSamplerReductionMode { get set }Discussion
The property’s default value is MTLSamplerReductionMode.weightedAverage. The sampler ignores this property if any of the following property values are equal to a specific value:
The sampler’s mipFilter property is equal to MTLSamplerMipFilter.notMipmapped.
The sampler’s mipFilter property is equal to MTLSamplerMipFilter.nearest.
The sampler’s minFilter property is equal to MTLSamplerMinMagFilter.nearest.
The sampler’s magFilter property is equal to MTLSamplerMinMagFilter.nearest.