---
title: hazardTrackingMode
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlheap/hazardtrackingmode
---

# hazardTrackingMode

The heap’s hazard tracking mode.

## Declaration

```swift
var hazardTrackingMode: MTLHazardTrackingMode { get }
```

## Discussion

Discussion Any resources you allocate on the heap have this hazard tracking mode.

## See Also

### Checking a heap’s permanent configuration

- [device](metal/mtlheap/device.md)
- [type](metal/mtlheap/type.md)
- [storageMode](metal/mtlheap/storagemode.md)
- [cpuCacheMode](metal/mtlheap/cpucachemode.md)
- [resourceOptions](metal/mtlheap/resourceoptions.md)
