浏览代码

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

Mugen87 6 年之前
父节点
当前提交
619f922a4e
共有 1 个文件被更改,包括 7 次插入0 次删除
  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]().
 	</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>
 
 	<p>