---
title: patchCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldrawpatchindirectarguments/patchcount
---

# patchCount

The number of patches in each instance.

## Declaration

```swift
var patchCount: UInt32
```
