Skip to main content

Module matrix

Module matrix 

Source
Expand description

Metal Performance Shaders matrix and vector wrappers.

Modules§

data_type
Selected MPSDataType constants used for matrices and vectors.

Structs§

Matrix
Wraps MPSMatrix.
MatrixDescriptor
Plain-Rust configuration for MPSMatrixDescriptor.
MatrixMultiplication
Wraps MPSMatrixMultiplication.
MatrixMultiplicationDescriptor
Plain-Rust configuration for MPSMatrixMultiplication.
Vector
Wraps MPSVector.
VectorDescriptor
Plain-Rust configuration for MPSVectorDescriptor.

Functions§

data_type_size
Return the byte width of a supported MPSDataType.