| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>PassMultipleTextureNode - Three.js Docs</title>
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
- <script src="../scripts/highlight.min.js"></script>
- <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
- <link type="text/css" rel="stylesheet" href="../styles/page.css">
- </head>
- <body>
- <p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="Node.html">Node</a> → <a href="InputNode.html">InputNode</a> → <a href="UniformNode.html">UniformNode</a> → <a href="TextureNode.html">TextureNode</a> → <a href="PassTextureNode.html">PassTextureNode</a> → </p>
- <h1 translate="no">PassMultipleTextureNode</h1>
- <section>
- <header>
- <div class="class-description"><p>An extension of <code>PassTextureNode</code> which allows to manage more than one
- internal texture. Relevant for the <code>getPreviousTexture()</code> related API.</p></div>
- </header>
- <article>
- <div class="container-overview">
- <h2>Constructor</h2>
- <h3 class="name name-method" id="PassMultipleTextureNode" translate="no">new <a href="#PassMultipleTextureNode">PassMultipleTextureNode</a><span class="signature">( passNode : <span class="param-type"><a href="PassNode.html">PassNode</a></span>, textureName : <span class="param-type">string</span>, previousTexture : <span class="param-type">boolean</span> )</span> </h3>
- <div class="method">
- <div class="description">
- <p>Constructs a new pass texture node.</p>
- </div>
- <table class="params">
- <tbody>
- <tr>
- <td class="name">
- <strong>passNode</strong>
- </td>
- <td class="description last">
- <p>The pass node.</p>
- </td>
- </tr>
- <tr>
- <td class="name">
- <strong>textureName</strong>
- </td>
- <td class="description last">
- <p>The output texture name.</p>
- </td>
- </tr>
- <tr>
- <td class="name">
- <strong>previousTexture</strong>
- </td>
- <td class="description last">
- <p>Whether previous frame data should be used or not.</p>
- <p>Default is <code>false</code>.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <h2 class="subsection-title">Properties</h2>
- <div class="member">
- <h3 class="name" id="previousTexture" translate="no">.<a href="#previousTexture">previousTexture</a><span class="type-signature"> : boolean</span> </h3>
- <div class="description">
- <p>Whether previous frame data should be used or not.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="textureName" translate="no">.<a href="#textureName">textureName</a><span class="type-signature"> : string</span> </h3>
- <div class="description">
- <p>The output texture name.</p>
- </div>
- </div>
- <h2 class="subsection-title">Methods</h2>
- <h3 class="name name-method" id="updateTexture" translate="no">.<a href="#updateTexture">updateTexture</a><span class="signature">()</span> </h3>
- <div class="method">
- <div class="description">
- <p>Updates the texture reference of this node.</p>
- </div>
- </div>
- <h2 class="subsection-title">Source</h2>
- <p>
- <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/display/PassNode.js" translate="no" target="_blank" rel="noopener">src/nodes/display/PassNode.js</a>
- </p>
- </article>
- </section>
- <script src="../scripts/linenumber.js"></script>
- <script src="../scripts/page.js"></script>
- </body>
- </html>
|