---
title: batchSize
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsmatrixrandom/batchsize
---

# batchSize

## Declaration

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