---
title: preferFastBuild
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlaccelerationstructureusage/preferfastbuild
---

# preferFastBuild

An option that instructs Metal to build an acceleration structure quickly.

## Declaration

```swift
static var preferFastBuild: MTLAccelerationStructureUsage { get }
```

## Discussion

Discussion Apply this option when you need to reduce the time when creating or refitting an acceleration structure, such as from code that’s sensitive to runtime performance. note: The acceleration structures you build with this option can reduce their intersection performance.

## See Also

### Applying options

- [refit](metal/mtlaccelerationstructureusage/refit.md)
- [preferFastIntersection](metal/mtlaccelerationstructureusage/preferfastintersection.md)
- [minimizeMemory](metal/mtlaccelerationstructureusage/minimizememory.md)
- [extendedLimits](metal/mtlaccelerationstructureusage/extendedlimits.md)
