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

# indexBufferOffset

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

## Declaration

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

## Discussion

Discussion The offset needs to be a multiple of the index data type size and aligned to the index data type’s alignment. Check the Metal feature set tables (PDF) for potential alignment restrictions.

## See Also

### Specifying index data

- [indexBuffer](metal/mtlaccelerationstructuremotiontrianglegeometrydescriptor/indexbuffer.md)
- [indexType](metal/mtlaccelerationstructuremotiontrianglegeometrydescriptor/indextype.md)
