|
@@ -40,7 +40,7 @@
|
|
|
<div>A [page:Canvas] where the renderer draws its output.<br />
|
|
|
This is automatically created by the renderer in the constructor (if not provided already); you just need to add it to your page.</div>
|
|
|
|
|
|
- <h3>.context</h3>
|
|
|
+ <h3>.[page:todo context]</h3>
|
|
|
|
|
|
<div>The HTML5 Canvas's 'webgl' context obtained from the canvas where the renderer will draw.</div>
|
|
|
|
|
@@ -77,13 +77,6 @@
|
|
|
|
|
|
<div>TODO</div>
|
|
|
|
|
|
-
|
|
|
- <h3>.[page:Boolean autoUpdateScene]</h3>
|
|
|
-
|
|
|
- <div>Defines whether the renderer should auto update the scene. Default is true.</div>
|
|
|
-
|
|
|
- <div>TODO</div>
|
|
|
-
|
|
|
<!-- Physically based shading -->
|
|
|
|
|
|
<h3>.[page:Boolean gammaInput]</h3>
|
|
@@ -117,7 +110,7 @@
|
|
|
<div>Options are THREE.BasicShadowMap, THREE.PCFShadowMap, THREE.PCFSoftShadowMap. Default is THREE.PCFShadowMap.</div>
|
|
|
|
|
|
|
|
|
- <h3>.[page:Boolean shadowMapCullFrontFaces]</h3>
|
|
|
+ <h3>.[page:Boolean shadowMapCullFace]</h3>
|
|
|
|
|
|
<div>Default is true. TODO</div>
|
|
|
|
|
@@ -182,6 +175,21 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
|
+ <h3>.[page:ShadowMapPlugin shadowMapPlugin]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.[page:number shadowMapCullFace]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.[page:number devicePixelRatio]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
<h2>Methods</h2>
|
|
|
|
|
|
<h3>.getContext()</h3>
|
|
@@ -282,10 +290,6 @@
|
|
|
<div>If cullFace is false, culling will be disabled.</div>
|
|
|
|
|
|
|
|
|
- <h3>.setObjectFaces( object )</h3>
|
|
|
- <div>TODO.</div>
|
|
|
-
|
|
|
-
|
|
|
<h3>.setDepthTest( depthTest )</h3>
|
|
|
<div>TODO.</div>
|
|
|
|
|
@@ -307,6 +311,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ <h3>.supportsCompressedTextureS3TC() [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.getMaxAnisotropy() [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.getPrecision() [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.setMaterialFaces([page:todo material]) [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ material -- todo
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.supportsStandardDerivatives() [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.supportsFloatTextures() [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.clearTarget([page:todo renderTarget], [page:todo color], [page:todo depth], [page:todo stencil]) [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ renderTarget -- todo <br />
|
|
|
+ color -- todo <br />
|
|
|
+ depth -- todo <br />
|
|
|
+ stencil -- todo
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>.setClearColorHex([page:todo hex], [page:todo alpha]) [page:todo]</h3>
|
|
|
+ <div>
|
|
|
+ hex -- todo <br />
|
|
|
+ alpha -- todo
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ todo
|
|
|
+ </div>
|
|
|
+
|
|
|
<h2>Source</h2>
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|