---
title: "init(from:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpscommandbuffer/init(from:)"
---

# init(from:)

## Declaration

```swift
convenience init(from commandQueue: any MTLCommandQueue)
```
