---
title: curveEndCaps
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructurecurvegeometrydescriptor/curveendcaps
---

# curveEndCaps

Sets the type of curve end caps.

## Declaration

```swift
var curveEndCaps: MTLCurveEndCaps { get set }
```

## Discussion

Discussion Defaults to MTLCurveEndCapsNone.
