Contents

MTLStages

The segments of command execution within the Metal pass types.

Declaration

struct MTLStages

Mentioned in

Overview

Metal associates each command with one or more stages within a pass. Use these stage identifiers to synchronize command execution within a pass by selecting which stages wait for other stages to complete.

Metal 4 introduces the following unified command encoders that combine multiple stages into a single pass:

Metal 3 provides separate command encoders for different types of work:

Topics

Render pass stages

Compute pass stages

Resource pass stages

Convenience values

Swift support

See Also

Synchronizing with barriers and fences