---
title: reductionMode
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlsamplerdescriptor/reductionmode
---

# reductionMode

Sets the reduction mode for filtering contributing samples.

## Declaration

```swift
var reductionMode: MTLSamplerReductionMode { get set }
```

## Discussion

Discussion The property’s default value is MTLSamplerReductionModeWeightedAverage. 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 MTLSamplerMipFilterNotMipmapped. The sampler’s mipFilter property is equal to MTLSamplerMipFilterNearest. The sampler’s minFilter property is equal to MTLSamplerMinMagFilterNearest. The sampler’s magFilter property is equal to MTLSamplerMinMagFilterNearest.
