---
title: radiusBuffer
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructurecurvegeometrydescriptor/radiusbuffer
---

# radiusBuffer

Assigns a reference to a buffer containing the curve radius for each control point.

## Declaration

```swift
var radiusBuffer: MTL4BufferRange { get set }
```

## Discussion

Discussion Metal interpolates curve radii according to the basis function you specify via curveBasis. You are responsible for ensuring the type of each radius matches the type property radiusFormat specifies, that each radius is at least zero, and that the buffer address of the range is not zero.
