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

# indexCapacity

The number of indices to allocate space for.

## Declaration

```swift
var indexCapacity: Int
```

## Discussion

Discussion You can specify ranges of indices to display dynamically with parts.

## See Also

### Defining the descriptor’s limits

- [vertexCapacity](realitykit/lowlevelmesh/descriptor-swift.struct/vertexcapacity.md)
- [maxVertexBufferCount](realitykit/lowlevelmesh/descriptor-swift.struct/maxvertexbuffercount.md)
