---
title: indexType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructurecurvegeometrydescriptor/indextype
---

# indexType

The size of each index in the index buffer.

## Declaration

```swift
var indexType: MTLIndexType { get set }
```

## Discussion

Discussion Set this property to a value that reflects the size of the indices in the indexBuffer property, such as MTLIndexType.uint16 or MTLIndexType.uint32.
