Parcourir la source

Docs: Add note about Scene.dispose() in guide.

Mugen87 il y a 6 ans
Parent
commit
619f922a4e
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      docs/manual/en/introduction/How-to-dispose-of-objects.html

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

@@ -54,6 +54,13 @@
 		for realizing custom rendering destinations. These objects are only deallocated by executing [page:WebGLRenderTarget.dispose]().
 		for realizing custom rendering destinations. These objects are only deallocated by executing [page:WebGLRenderTarget.dispose]().
 	</p>
 	</p>
 
 
+	<h2>Scenes</h2>
+
+	<p>
+		The renderer maintains for scenes special data structures for sorting and rendering. If for some reasons a scene object becomes obsolete in an application,
+		call [page:Scene.dispose]() in order to free these resources.
+	</p>
+
 	<h2>Miscellaneous</h2>
 	<h2>Miscellaneous</h2>
 
 
 	<p>
 	<p>