1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!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>
- <p class="desc">
- Used by the [page:CubeCamera] as its [page:WebGLRenderTarget].
- </p>
- <h2>Examples</h2>
- <p>See [page:CubeCamera] for examples.</p>
- <h2>Constructor</h2>
- <h3>[name]([param:Number width], [param:Number height], [param:Object options])</h3>
- <p>
- [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]
- </p>
- <h2>Properties</h2>
- <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>
|