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
bufferwhere the data begins.
Discussion
The buffer must contain jointTransformCount float4x4 matrices.