---
title: MTLDispatchType
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtldispatchtype
---

# MTLDispatchType

The type of dispatch method to use when calling encoded functions.

## Declaration

```swift
enum MTLDispatchType
```

## Topics

### Execution dispatch types

- [MTLDispatchType.concurrent](metal/mtldispatchtype/concurrent.md)
- [MTLDispatchType.serial](metal/mtldispatchtype/serial.md)

### Initializers

- [init(rawValue:)](metal/mtldispatchtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring a compute pass

- [MTLComputePassDescriptor](metal/mtlcomputepassdescriptor.md)
- [MTLDispatchThreadgroupsIndirectArguments](metal/mtldispatchthreadgroupsindirectarguments.md)
- [MTLComputePassSampleBufferAttachmentDescriptor](metal/mtlcomputepasssamplebufferattachmentdescriptor.md)
- [MTLComputePassSampleBufferAttachmentDescriptorArray](metal/mtlcomputepasssamplebufferattachmentdescriptorarray.md)
