Enumeration

MTLHazardTrackingMode

The options you use to specify the hazard tracking mode.

Declaration

typedef enum MTLHazardTrackingMode : NSUInteger {
    ...
} MTLHazardTrackingMode;

Topics

Specifying the Tracking Mode

MTLHazardTrackingModeDefault

An option specifying that the default tracking mode should be used.

MTLHazardTrackingModeUntracked

An option specifying that the app must prevent hazards when modifying this object's contents.

MTLHazardTrackingModeTracked

An option specifying that Metal prevents hazards when modifying this object's contents.

See Also

Reading Memory and Storage Properties

cpuCacheMode

The CPU cache mode that defines the CPU mapping of the resource.

Required.

storageMode

The location and access permissions of the resource.

Required.

hazardTrackingMode

A mode that determines whether Metal tracks and synchronizes resource access.

Required.

resourceOptions

The storage mode, CPU cache mode, and hazard tracking mode of the resource.

Required.

MTLCPUCacheMode

Options for the CPU cache mode that define the CPU mapping of the resource.

MTLStorageMode

Options for the memory location and access permissions for a resource.