---
title: capacity
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlmeshbufferzone/capacity
---

# capacity

The data capacity of the zone, in bytes.

## Declaration

```swift
var capacity: Int { get }
```

## Discussion

Discussion You specify the capacity of a zone when creating it with the newZone(_:) method of a concrete class implementing the MDLMeshBufferAllocator protocol.

## See Also

### Inspecting a Zone

- [allocator](modelio/mdlmeshbufferzone/allocator.md)
