---
title: dispatchType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcomputepassdescriptor/dispatchtype
---

# dispatchType

The strategy for dispatching any compute commands encoded in the compute pass.

## Declaration

```swift
var dispatchType: MTLDispatchType { get set }
```

## Discussion

Discussion The default dispatch type is MTLDispatchType.serial.
