---
title: MPSGraphRandomDistribution.uniform
framework: metalperformanceshadersgraph
role: symbol
role_heading: Case
path: metalperformanceshadersgraph/mpsgraphrandomdistribution/uniform
---

# MPSGraphRandomDistribution.uniform

The uniform distribution, with samples drawn uniformly from [min, max) for float types, and [min, max] for integer types.

## Declaration

```swift
case uniform
```
