소스 검색

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