---
title: MTLSamplerReductionMode
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtlsamplerreductionmode
---

# MTLSamplerReductionMode

Configures how the sampler aggregates contributing samples to a final value.

## Declaration

```swift
enum MTLSamplerReductionMode
```

## Topics

### Enumeration Cases

- [MTLSamplerReductionMode.maximum](metal/mtlsamplerreductionmode/maximum.md)
- [MTLSamplerReductionMode.minimum](metal/mtlsamplerreductionmode/minimum.md)
- [MTLSamplerReductionMode.weightedAverage](metal/mtlsamplerreductionmode/weightedaverage.md)

### Initializers

- [init(rawValue:)](metal/mtlsamplerreductionmode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Texture samplers

- [Creating and sampling textures](metal/creating-and-sampling-textures.md)
- [MTLSamplerState](metal/mtlsamplerstate.md)
- [MTLSamplerDescriptor](metal/mtlsamplerdescriptor.md)
- [MTLSamplePosition](metal/mtlsampleposition.md)
