---
title: indexBufferOffset
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructurecurvegeometrydescriptor/indexbufferoffset
---

# indexBufferOffset

The offset, in bytes, to the index data in the buffer.

## Declaration

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

## Discussion

Discussion The offset needs to be a multiple of the index data type you configure with the indexType property. You also need to align the offset to both the index type’s size and the platform’s buffer alignment requirement.
