---
title: MTLCPUCacheMode.defaultCache
framework: metal
role: symbol
role_heading: Case
path: metal/mtlcpucachemode/defaultcache
---

# MTLCPUCacheMode.defaultCache

The default CPU cache mode for the resource, which guarantees that read and write operations are executed in the expected order.

## Declaration

```swift
case defaultCache
```

## See Also

### Specifying the cache mode

- [MTLCPUCacheMode.writeCombined](metal/mtlcpucachemode/writecombined.md)
