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

# type

The heap’s type.

## Declaration

```swift
var type: MTLHeapType { get }
```

## See Also

### Checking a heap’s permanent configuration

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