Skip to content

Commit 2d0229b

Browse files
authored
Docs: Improve dispose guide. (#30441)
1 parent d6446ef commit 2d0229b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/manual/en/introduction/How-to-dispose-of-objects.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ <h2>Render Targets</h2>
5757
for realizing custom rendering destinations. These objects are only deallocated by executing [page:WebGLRenderTarget.dispose]().
5858
</p>
5959

60+
<h2>Skinned Mesh</h2>
61+
62+
<p>
63+
Skinned meshes represent their bone hierarchy as skeletons. If you don't need a skinned mesh anymore, consider to call [page:Skeleton.dispose]() on the skeleton to free internal resources.
64+
Keep in mind that skeletons can be shared across multiple skinned meshes, so only call `dispose()` if the skeleton is not used by other active skinned meshes.
65+
</p>
66+
6067
<h2>Miscellaneous</h2>
6168

6269
<p>

0 commit comments

Comments
 (0)