---
title: "init(sourceMatrix:destinationMatrix:offsets:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpsmatrixcopydescriptor/init(sourcematrix:destinationmatrix:offsets:)"
---

# init(sourceMatrix:destinationMatrix:offsets:)

## Declaration

```swift
convenience init(sourceMatrix: MPSMatrix, destinationMatrix: MPSMatrix, offsets: MPSMatrixCopyOffsets)
```
