Skip to content

Commit 99b4852

Browse files
authored
Merge pull request #16124 from Mugen87/dev2
Docs: Add note about Scene.dispose() in guide.
2 parents 85b81c3 + 619f922 commit 99b4852

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
@@ -54,6 +54,13 @@ <h2>Render Targets</h2>
5454
for realizing custom rendering destinations. These objects are only deallocated by executing [page:WebGLRenderTarget.dispose]().
5555
</p>
5656

57+
<h2>Scenes</h2>
58+
59+
<p>
60+
The renderer maintains for scenes special data structures for sorting and rendering. If for some reasons a scene object becomes obsolete in an application,
61+
call [page:Scene.dispose]() in order to free these resources.
62+
</p>
63+
5764
<h2>Miscellaneous</h2>
5865

5966
<p>

0 commit comments

Comments
 (0)