Contents

hazardTrackingMode

The hazard tracking behavior for any resources you allocate from the heaps you create with this descriptor.

Declaration

var hazardTrackingMode: MTLHazardTrackingMode { get set }

Discussion

This property’s default value is MTLHazardTrackingMode.default, which is equivalent to MTLHazardTrackingMode.untracked for a heap.

The resources you allocate from a heap inherit that heap’s hazard tracking mode.

See Also

Configuring a heap