Instance Property


No overview available.


var matrixBytes: Int { get }

See Also


var device: MTLDevice

The device on which the matrix will be used.

var rows: Int

The number of rows in the matrix.

var columns: Int

The number of columns in the matrix.

var dataType: MPSDataType

The type of the values in the matrix.

var rowBytes: Int

The stride, in bytes, between corresponding elements of consecutive rows in the matrix.

var data: MTLBuffer

The buffer that stores the matrix data.