---
title: reductionMode
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphstencilopdescriptor/reductionmode
---

# reductionMode

The reduction mode to use within the stencil window.

## Declaration

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

## Discussion

Discussion Default value: MPSGraphReductionModeSum.
