Contents

MTLHazardTrackingMode.default

An option that applies the default tracking behavior in Metal based on the resource or heap type you’re creating.

Declaration

case `default`

Discussion

When you choose the MTLHazardTrackingMode.default option, Metal assigns a tracking mode based on the type you’re creating:

For example, Metal tracks hazards for MTLBuffer and MTLTexture instances when you create them with MTLHazardTrackingMode.default.

For more information, see MTLHazardTrackingMode.

See Also

Selecting the tracking mode