---
title: distributionType
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsmatrixrandomdistributiondescriptor/distributiontype
---

# distributionType

## Declaration

```swift
var distributionType: MPSMatrixRandomDistribution { get set }
```
