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

# resourceOptions

The options for resources created by the heap.

## Declaration

```swift
var resourceOptions: MTLResourceOptions { get }
```

## Discussion

Discussion The value of this property aggregates the values of storageMode, cpuCacheMode, and hazardTrackingMode.

## 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)
- [hazardTrackingMode](metal/mtlheap/hazardtrackingmode.md)
