Instance Property

leftMatrixOrigin

The origin of the left input matrix.

Declaration

var leftMatrixOrigin: MTLOrigin { get set }

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

var rightMatrixOrigin: MTLOrigin

The origin of the right input matrix.

var resultMatrixOrigin: MTLOrigin

The origin of the result matrix.