Contents

instanceTransformationMatrixLayout

Specifies the layout for the transformation matrices in the instance descriptor buffer and the motion transformation matrix buffer.

Declaration

var instanceTransformationMatrixLayout: MTLMatrixLayout { get set }

Discussion

Metal interprets the value of this property as the layout for the buffers that both instanceDescriptorBuffer and motionTransformBuffer reference.

Defaults to MTLMatrixLayoutColumnMajor.