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

# vertexCapacity

The number of vertices to allocate space for.

## Declaration

```swift
var vertexCapacity: Int
```

## See Also

### Defining the descriptor’s limits

- [indexCapacity](realitykit/lowlevelmesh/descriptor-swift.struct/indexcapacity.md)
- [maxVertexBufferCount](realitykit/lowlevelmesh/descriptor-swift.struct/maxvertexbuffercount.md)
