Skip to content

animation.createSkin#createInstance#dispose

Summary

animation.createSkin#createInstance#dispose destroys the instance's GPU bone buffer and clears its bind group. It does not dispose the referenced mesh transform or free its world-matrix record. The call is idempotent.

The parent Skin has a separate lifetime and must be disposed independently. After instance disposal, guarded members such as meshWorldMatrixPtr and jointCount throw.

Syntax

SkinInstance.dispose(): void
instance.dispose();

Returns

void

See Also