The CPU cache mode for the heap.
SDKs
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Metal
Declaration
var cpuCacheMode: MTLCPUCache Mode { get set }
Discussion
The default value is MTLCPUCache
.
Any resources you allocate on the heap have this CPU cache mode.