Pārlūkot izejas kodu

Merge pull request #20973 from gkjohnson/patch-5

Docs: Update DRACOLoader documentation to recommend reusing a loader instance
Mr.doob 4 gadi atpakaļ
vecāks
revīzija
15e97213c0
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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].
 		</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>