---
title: boundingBoxCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructureboundingboxgeometrydescriptor/boundingboxcount
---

# boundingBoxCount

The number of bounding boxes in the bounding box buffer.

## Declaration

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