---
title: boundingBoxStride
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructureboundingboxgeometrydescriptor/boundingboxstride
---

# boundingBoxStride

The stride, in bytes, between bounding boxes in the buffer.

## Declaration

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

## Discussion

Discussion The stride needs be at least 24 bytes, and be a multiple of 4 bytes. The default value is 24 bytes.

## See Also

### Specifying bounding boxes data

- [boundingBoxBuffer](metal/mtlaccelerationstructureboundingboxgeometrydescriptor/boundingboxbuffer.md)
- [boundingBoxBufferOffset](metal/mtlaccelerationstructureboundingboxgeometrydescriptor/boundingboxbufferoffset.md)
