---
title: leftMatrixOrigin
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsmatrixmultiplication/leftmatrixorigin
---

# leftMatrixOrigin

The origin of the left input matrix.

## Declaration

```swift
var leftMatrixOrigin: 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

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