瀏覽代碼

Added a mention about about outcome of a failed compilation

Took 5 minutes
Alex Goldring 6 年之前
父節點
當前提交
e193e9442c
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      docs/api/en/renderers/WebGLRenderer.html
  2. 1 0
      docs/api/zh/renderers/WebGLRenderer.html

+ 1 - 0
docs/api/en/renderers/WebGLRenderer.html

@@ -97,6 +97,7 @@
 			If [page:.programCheckEnabled programCheckEnabled] is true, defines whether Material shader programs are checked
 			for errors during compilation process. It may be useful to disable this check in production for performance gain.
 			It is strongly recommended to keep these checks enabled during development.
+			If the shader does not compile - it will not work and associated material will not render.
 			Default is *true*.
 		</p>
 

+ 1 - 0
docs/api/zh/renderers/WebGLRenderer.html

@@ -84,6 +84,7 @@
 			如果[page:.programCheckEnabled programCheckEnabled]为true,则定义是否检查材质着色器程序编译过程中的错误。
 			禁用此检查生产以获得性能增益可能很有用。
 			强烈建议在开发期间保持启用这些检查。
+			如果着色器未编译 - 它将无法工作,并且相关材质将无法渲染。
 			默认是*true*
 		</p>