---
title: MPSMatrixRandomDistribution
framework: metalperformanceshaders
role: symbol
role_heading: Structure
path: metalperformanceshaders/mpsmatrixrandomdistribution
---

# MPSMatrixRandomDistribution

## Declaration

```swift
struct MPSMatrixRandomDistribution
```

## Topics

### Initializers

- [init(rawValue:)](metalperformanceshaders/mpsmatrixrandomdistribution/init(rawvalue:).md)

### Type Properties

- [default](metalperformanceshaders/mpsmatrixrandomdistribution/default.md)
- [normal](metalperformanceshaders/mpsmatrixrandomdistribution/normal.md)
- [uniform](metalperformanceshaders/mpsmatrixrandomdistribution/uniform.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)
