Contents

cpuCacheMode

The CPU cache behavior for any resources you allocate from the heaps you create with this descriptor.

Declaration

var cpuCacheMode: MTLCPUCacheMode { get set }

Discussion

This property’s default value is MTLCPUCacheMode.defaultCache.

The resources you allocate from a heap inherit that heap’s CPU cache mode.

See Also

Configuring a heap