2
0
Эх сурвалжийг харах

Merge pull request #20973 from gkjohnson/patch-5

Docs: Update DRACOLoader documentation to recommend reusing a loader instance
Mr.doob 4 жил өмнө
parent
commit
15e97213c0

+ 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].
 		</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>
 
 		<code>