Instance Property

hazardTrackingMode

The heap's hazard tracking mode.

Declaration

@property(readwrite, nonatomic) MTLHazardTrackingMode hazardTrackingMode;

Discussion

Any resources you allocate on the heap have this hazard tracking mode.

The default value is MTLHazardTrackingModeDefault, which for a heap means the same thing as MTLHazardTrackingModeUntracked.

See Also

Specifying Heap Attributes

type

The type of heap to create.

storageMode

The storage mode for the heap.

cpuCacheMode

The CPU cache mode for the heap.

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.