refit
An option that lets you update an acceleration structure after creating it.
Declaration
static var refit: MTLAccelerationStructureUsage { get }Discussion
Apply this option to make a modifiable acceleration structure, which you can update over time, such as for geometry changes. By default, the framework builds immutable acceleration structures for performance. When you apply the refit option, the framework builds an acceleration structure more conservatively, which can reduce its intersection performance.