---
title: resultMatrixOrigin
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsmatrixmultiplication/resultmatrixorigin
---

# resultMatrixOrigin

The origin of the result matrix.

## Declaration

```swift
var resultMatrixOrigin: MTLOrigin { get set }
```

## Discussion

Discussion The origin, relative to (0,0), at which to start reading values. If a different origin is desired, you must modify this property before encoding the matrix multiplication kernel. The default value is (0,0,0) (the z value must always be 0).

## See Also

### Properties

- [leftMatrixOrigin](metalperformanceshaders/mpsmatrixmultiplication/leftmatrixorigin.md)
- [rightMatrixOrigin](metalperformanceshaders/mpsmatrixmultiplication/rightmatrixorigin.md)
- [batchSize](metalperformanceshaders/mpsmatrixmultiplication/batchsize.md)
- [batchStart](metalperformanceshaders/mpsmatrixmultiplication/batchstart.md)
