Selaa lähdekoodia

update chinese docs

Garrett Johnson 5 vuotta sitten
vanhempi
commit
aa9270b799
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      docs/api/zh/materials/ShaderMaterial.html

+ 6 - 0
docs/api/zh/materials/ShaderMaterial.html

@@ -43,6 +43,12 @@
 					<li>
 						循环变量必须是*i*。
 					</li>
+					<li>
+						Array accesses within the loop must include spaces around the index: <b>array[ i ]</b>.
+					</li>
+					<li>
+						The value *UNROLL_LOOP_INDEX* will be replaced with the explicity value of *i* for the given iteration and can be used in preprocessor statements.
+					</li>
 				</ul>
 				<code>
 		#pragma unroll_loop_start