|
@@ -1,71 +1,71 @@
|
|
|
-<!DOCTYPE html>
|
|
|
-<html lang="en">
|
|
|
- <head>
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+ <head>
|
|
|
<meta charset="utf-8" />
|
|
|
- <base href="../../" />
|
|
|
- <script src="list.js"></script>
|
|
|
- <script src="page.js"></script>
|
|
|
- <link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
- </head>
|
|
|
- <body>
|
|
|
- [page:WebGLRenderTarget] →
|
|
|
-
|
|
|
- <h1>[name]</h1>
|
|
|
-
|
|
|
- <div class="desc">
|
|
|
- Used by the [page:CubeCamera] as its [page:WebGLRenderTarget].
|
|
|
- </div>
|
|
|
-
|
|
|
- <h2>Examples</h2>
|
|
|
-
|
|
|
- <div>See [page:CubeCamera] for examples.</div>
|
|
|
-
|
|
|
-
|
|
|
- <h2>Constructor</h2>
|
|
|
-
|
|
|
-
|
|
|
- <h3>[name]([page:Number width], [page:Number height], [page:Object options])</h3>
|
|
|
- <div>
|
|
|
- [page:Float width] - The width of the renderTarget. <br />
|
|
|
- [page:Float height] - The height of the renderTarget. <br />
|
|
|
- options - (optional0 object that holds texture parameters for an auto-generated target
|
|
|
- texture and depthBuffer/stencilBuffer booleans.
|
|
|
-
|
|
|
- For an explanation of the texture parameters see [page:Texture Texture]. The following are
|
|
|
- valid options:<br /><br />
|
|
|
-
|
|
|
- [page:Constant wrapS] - default is [page:Textures ClampToEdgeWrapping]. <br />
|
|
|
- [page:Constant wrapT] - default is [page:Textures ClampToEdgeWrapping]. <br />
|
|
|
- [page:Constant magFilter] - default is [page:Textures .LinearFilter]. <br />
|
|
|
- [page:Constant minFilter] - default is [page:Textures LinearFilter]. <br />
|
|
|
- [page:Constant format] - default is [page:Textures RGBAFormat]. <br />
|
|
|
- [page:Constant type] - default is [page:Textures UnsignedByteType]. <br />
|
|
|
- [page:Number anisotropy] - default is *1*. See [page:Texture.anistropy]<br />
|
|
|
- [page:Constant encoding] - default is [page:Textures LinearEncoding]. <br />
|
|
|
- [page:Boolean depthBuffer] - default is *true*. Set this to false if you don't need it. <br />
|
|
|
- [page:Boolean stencilBuffer] - default is *true*. Set this to false if you don't need it.<br /><br />
|
|
|
-
|
|
|
- Creates a new [name]]
|
|
|
- </div>
|
|
|
-
|
|
|
- <h2>Properties</h2>
|
|
|
-
|
|
|
- <h3>[property:integer activeCubeFace]</h3>
|
|
|
- <div>
|
|
|
- The activeCubeFace property corresponds to a cube side (PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5) and is
|
|
|
- used and set internally by the [page:CubeCamera].
|
|
|
- </div>
|
|
|
-
|
|
|
- <h3>See [page:WebGLRenderTarget] for inherited properties</h3>
|
|
|
-
|
|
|
-
|
|
|
- <h2>Methods</h2>
|
|
|
-
|
|
|
- <h3>See [page:WebGLRenderTarget] for inherited methods</h3>
|
|
|
-
|
|
|
-
|
|
|
- <h2>Source</h2>
|
|
|
-
|
|
|
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
- </body>
|
|
|
-</html>
|
|
|
+ <base href="../../" />
|
|
|
+ <script src="list.js"></script>
|
|
|
+ <script src="page.js"></script>
|
|
|
+ <link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ [page:WebGLRenderTarget] →
|
|
|
+
|
|
|
+ <h1>[name]</h1>
|
|
|
+
|
|
|
+ <div class="desc">
|
|
|
+ Used by the [page:CubeCamera] as its [page:WebGLRenderTarget].
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h2>Examples</h2>
|
|
|
+
|
|
|
+ <div>See [page:CubeCamera] for examples.</div>
|
|
|
+
|
|
|
+
|
|
|
+ <h2>Constructor</h2>
|
|
|
+
|
|
|
+
|
|
|
+ <h3>[name]([page:Number width], [page:Number height], [page:Object options])</h3>
|
|
|
+ <div>
|
|
|
+ [page:Float width] - The width of the renderTarget. <br />
|
|
|
+ [page:Float height] - The height of the renderTarget. <br />
|
|
|
+ options - (optional object that holds texture parameters for an auto-generated target
|
|
|
+ texture and depthBuffer/stencilBuffer booleans.
|
|
|
+
|
|
|
+ For an explanation of the texture parameters see [page:Texture Texture]. The following are
|
|
|
+ valid options:<br /><br />
|
|
|
+
|
|
|
+ [page:Constant wrapS] - default is [page:Textures ClampToEdgeWrapping]. <br />
|
|
|
+ [page:Constant wrapT] - default is [page:Textures ClampToEdgeWrapping]. <br />
|
|
|
+ [page:Constant magFilter] - default is [page:Textures .LinearFilter]. <br />
|
|
|
+ [page:Constant minFilter] - default is [page:Textures LinearFilter]. <br />
|
|
|
+ [page:Constant format] - default is [page:Textures RGBAFormat]. <br />
|
|
|
+ [page:Constant type] - default is [page:Textures UnsignedByteType]. <br />
|
|
|
+ [page:Number anisotropy] - default is *1*. See [page:Texture.anistropy]<br />
|
|
|
+ [page:Constant encoding] - default is [page:Textures LinearEncoding]. <br />
|
|
|
+ [page:Boolean depthBuffer] - default is *true*. Set this to false if you don't need it. <br />
|
|
|
+ [page:Boolean stencilBuffer] - default is *true*. Set this to false if you don't need it.<br /><br />
|
|
|
+
|
|
|
+ Creates a new [name]
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h2>Properties</h2>
|
|
|
+
|
|
|
+ <h3>[property:integer activeCubeFace]</h3>
|
|
|
+ <div>
|
|
|
+ The activeCubeFace property corresponds to a cube side (PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5) and is
|
|
|
+ used and set internally by the [page:CubeCamera].
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>See [page:WebGLRenderTarget] for inherited properties</h3>
|
|
|
+
|
|
|
+
|
|
|
+ <h2>Methods</h2>
|
|
|
+
|
|
|
+ <h3>See [page:WebGLRenderTarget] for inherited methods</h3>
|
|
|
+
|
|
|
+
|
|
|
+ <h2>Source</h2>
|
|
|
+
|
|
|
+ [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
+ </body>
|
|
|
+</html>
|