---
title: cpuCacheMode
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsimagedescriptor/cpucachemode
---

# cpuCacheMode

The CPU cache mode of the underlying texture.

## Declaration

```swift
var cpuCacheMode: MTLCPUCacheMode { get set }
```

## Discussion

Discussion The default value is MTLCPUCacheMode.defaultCache.

## See Also

### Properties

- [width](metalperformanceshaders/mpsimagedescriptor/width.md)
- [height](metalperformanceshaders/mpsimagedescriptor/height.md)
- [featureChannels](metalperformanceshaders/mpsimagedescriptor/featurechannels.md)
- [numberOfImages](metalperformanceshaders/mpsimagedescriptor/numberofimages.md)
- [pixelFormat](metalperformanceshaders/mpsimagedescriptor/pixelformat.md)
- [channelFormat](metalperformanceshaders/mpsimagedescriptor/channelformat.md)
- [storageMode](metalperformanceshaders/mpsimagedescriptor/storagemode.md)
- [usage](metalperformanceshaders/mpsimagedescriptor/usage.md)
