---
title: vertexCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldrawprimitivesindirectarguments/vertexcount
---

# vertexCount

The number of vertices to draw.

## Declaration

```swift
var vertexCount: UInt32
```
