1
0

BitcountNode.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>BitcountNode - Three.js Docs</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  7. <script src="../scripts/highlight.min.js"></script>
  8. <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
  9. <link type="text/css" rel="stylesheet" href="../styles/page.css">
  10. </head>
  11. <body>
  12. <p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="Node.html">Node</a> → <a href="TempNode.html">TempNode</a> → <a href="MathNode.html">MathNode</a> → </p>
  13. <h1 translate="no">BitcountNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This node represents an operation that counts the bits of a piece of shader data.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="BitcountNode" translate="no">new <a href="#BitcountNode">BitcountNode</a><span class="signature">( method : <span class="param-type">'countTrailingZeros' | 'countLeadingZeros' | 'countOneBits'</span>, aNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new math node.</p>
  25. </div>
  26. <table class="params">
  27. <tbody>
  28. <tr>
  29. <td class="name">
  30. <strong>method</strong>
  31. </td>
  32. <td class="description last">
  33. <p>The method name.</p>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td class="name">
  38. <strong>aNode</strong>
  39. </td>
  40. <td class="description last">
  41. <p>The first input.</p>
  42. </td>
  43. </tr>
  44. </tbody>
  45. </table>
  46. </div>
  47. </div>
  48. <h2 class="subsection-title">Properties</h2>
  49. <div class="member">
  50. <h3 class="name" id="isBitcountNode" translate="no">.<a href="#isBitcountNode">isBitcountNode</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  51. <div class="description">
  52. <p>This flag can be used for type testing.</p>
  53. <p>Default is <code>true</code>.</p>
  54. </div>
  55. </div>
  56. <h2 class="subsection-title">Source</h2>
  57. <p>
  58. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/math/BitcountNode.js" translate="no" target="_blank" rel="noopener">src/nodes/math/BitcountNode.js</a>
  59. </p>
  60. </article>
  61. </section>
  62. <script src="../scripts/linenumber.js"></script>
  63. <script src="../scripts/page.js"></script>
  64. </body>
  65. </html>
粤ICP备19079148号