Contents

setJointTransforms(_:offset:)

Sets the buffer containing joint transform matrices.

Declaration

func setJointTransforms(_ buffer: any MTLBuffer, offset: Int) throws(LowLevelDeformation.Error)

Parameters

  • buffer:

    The Metal buffer containing the joint transform matrices.

  • offset:

    The byte offset into buffer where the data begins.

Discussion

The buffer must contain jointTransformCount float4x4 matrices.

See Also

Configuring skinning data