---
title: threshold
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsnncompare/threshold
---

# threshold

## Declaration

```swift
var threshold: Float { get set }
```
