提交 9b6e0cb3 编写于 作者: G gero3

Update WebGLRenderer.html

上级 9b5cfe6b
......@@ -263,7 +263,12 @@
<h3>.initWebGLObjects( [page:Scene scene] )</h3>
<div>TODO.</div>
<div>
[page:Scene scene] -- The scene to initialize.
</div>
<div>
This method initializes the scene. This means adding and removing all objects from the scene and updating them to make sure we have the correct webgl buffers.
</div>
<h3>.initMaterial( [page:Material material], [page:Array lights], [page:Fog fog], [page:Object3D object])</h3>
......@@ -274,7 +279,7 @@
[page:Object3D object] -- The object of the material that needs init.
</div>
<div>
Used for setting the gl frontFace, cullFace states in the GPU, thus enabling/disabling face culling when rendering.
This method initializes the material as a webgl program to be used.
</div>
<h3>.setFaceCulling( cullFace, frontFace )</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册