浏览代码

Merge pull request #18793 from Mugen87/dev43

InstancedMesh: Add note about material sharing.
Mr.doob 5 年之前
父节点
当前提交
e96468590f
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      docs/api/en/objects/InstancedMesh.html
  2. 3 0
      docs/api/zh/objects/InstancedMesh.html

+ 3 - 0
docs/api/en/objects/InstancedMesh.html

@@ -17,6 +17,9 @@
 		objects with the same geometry and material but with different world transformations. The usage of [name] will help you
 		objects with the same geometry and material but with different world transformations. The usage of [name] will help you
 		to reduce the number of draw calls and thus improve the overall rendering performance in your application.
 		to reduce the number of draw calls and thus improve the overall rendering performance in your application.
 		</p>
 		</p>
+		<p>
+		The current implementation requires that materials are not shared between [name] and other 3D objects.
+		</p>
 
 
 		<h3>Examples</h3>
 		<h3>Examples</h3>
 
 

+ 3 - 0
docs/api/zh/objects/InstancedMesh.html

@@ -17,6 +17,9 @@
 		objects with the same geometry and material but with different world transformations. The usage of [name] will help you
 		objects with the same geometry and material but with different world transformations. The usage of [name] will help you
 		to reduce the number of draw calls and thus improve the overall rendering performance in your application.
 		to reduce the number of draw calls and thus improve the overall rendering performance in your application.
 		</p>
 		</p>
+		<p>
+		The current implementation requires that materials are not shared between [name] and other 3D objects.
+		</p>
 
 
 		<h3>Examples</h3>
 		<h3>Examples</h3>