Instance Property

cpuCacheMode

The CPU cache mode for the heap.

Declaration

@property(readwrite, nonatomic) MTLCPUCacheMode cpuCacheMode;

Discussion

The default value is MTLCPUCacheModeDefaultCache.

Any resources you allocate on the heap have this CPU cache mode.

See Also

Specifying Heap Attributes

type

The type of heap to create.

storageMode

The storage mode for the heap.

hazardTrackingMode

The heap's hazard tracking mode.

resourceOptions

The options for all the resources you create on the heap.

size

The size of the heap, in bytes.

MTLHazardTrackingMode

The options you use to specify the hazard tracking mode.

MTLHeapType

The options you use to choose the heap type.