Contents

preferFastBuild

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

Declaration

static var preferFastBuild: MTLAccelerationStructureUsage { get }

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.

See Also

Applying options