---
title: dispatch
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlstages/dispatch
---

# dispatch

Represents all compute dispatches in a compute pass.

## Declaration

```swift
static var dispatch: MTLStages { get }
```

## Mentioned in

Synchronizing passes with a fence Synchronizing passes with consumer barriers Synchronizing passes with producer barriers Synchronizing stages within a pass

## See Also

### Compute pass stages

- [blit](metal/mtlstages/blit.md)
- [accelerationStructure](metal/mtlstages/accelerationstructure.md)
- [machineLearning](metal/mtlstages/machinelearning.md)
