---
title: vertexCapacity
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmeshresource/descriptor-swift.struct/vertexcapacity
---

# vertexCapacity

The maximum number of vertices to allocate space for.

## Declaration

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