---
title: "init(commandBuffer:matrixDescriptor:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpstemporarymatrix/init(commandbuffer:matrixdescriptor:)"
---

# init(commandBuffer:matrixDescriptor:)

## Declaration

```swift
convenience init(commandBuffer: any MTLCommandBuffer, matrixDescriptor: MPSMatrixDescriptor)
```
