浏览代码

Merge pull request #20973 from gkjohnson/patch-5

Docs: Update DRACOLoader documentation to recommend reusing a loader instance
Mr.doob 4 年之前
父节点
当前提交
15e97213c0
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      docs/examples/en/loaders/DRACOLoader.html

+ 5 - 0
docs/examples/en/loaders/DRACOLoader.html

@@ -26,6 +26,11 @@
 			using Draco with glTF, an instance of DRACOLoader will be used internally by [page:GLTFLoader].
 			using Draco with glTF, an instance of DRACOLoader will be used internally by [page:GLTFLoader].
 		</p>
 		</p>
 
 
+		<p>
+			It is recommended to create one DRACOLoader instance and reuse it to avoid loading and creating multiple
+			decoder instances.
+		</p>
+		
 		<h2>Code Example</h2>
 		<h2>Code Example</h2>
 
 
 		<code>
 		<code>