---
title: maxInteger
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphrandomopdescriptor/maxinteger
---

# maxInteger

The upper range of the distribution.

## Declaration

```swift
var maxInteger: Int { get set }
```

## Discussion

Discussion This value is used for Uniform with integer data types Defaults to INT32_MAX for uniform distributions and 0 for normal distributions.
