setInverseBindPoses(_:offset:)
Sets the buffer containing inverse bind-pose matrices.
Declaration
func setInverseBindPoses(_ buffer: any MTLBuffer, offset: Int) throws(LowLevelDeformation.Error)Parameters
- buffer:
The Metal buffer containing the inverse bind-pose matrices.
- offset:
The byte offset into
bufferwhere the data begins.
Discussion
The buffer must contain jointTransformCount float4x4 matrices.