Contents

transformationMatrixLayout

Configures the layout for the transformation matrix in the transformation matrix buffer.

Declaration

var transformationMatrixLayout: MTLMatrixLayout { get set }

Discussion

You can provide matrices in column-major or row-major form, and this property allows you to control how Metal interprets them.

Defaults to MTLMatrixLayoutColumnMajor.