|
|
@@ -42,6 +42,12 @@ on a 3D object and its node material definition.</p></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<h2 class="subsection-title">Properties</h2>
|
|
|
+ <div class="member">
|
|
|
+ <h3 class="name" id="activeStacks" translate="no">.<a href="#activeStacks">activeStacks</a><span class="type-signature"> : Array.<<a href="StackNode.html">StackNode</a>></span> </h3>
|
|
|
+ <div class="description">
|
|
|
+ <p>The active stack nodes.</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="member">
|
|
|
<h3 class="name" id="attributes" translate="no">.<a href="#attributes">attributes</a><span class="type-signature"> : Array.<<a href="NodeAttribute.html">NodeAttribute</a>></span> </h3>
|
|
|
<div class="description">
|
|
|
@@ -137,12 +143,6 @@ The codes are maintained in an array for each shader stage.</p>
|
|
|
last node in the chain of nodes.</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="member">
|
|
|
- <h3 class="name" id="currentStack" translate="no">.<a href="#currentStack">currentStack</a><span class="type-signature"> : <a href="StackNode.html">StackNode</a></span> </h3>
|
|
|
- <div class="description">
|
|
|
- <p>The current stack of nodes.<br/>Default is <code>null</code>.</p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
<div class="member">
|
|
|
<h3 class="name" id="declarations" translate="no">.<a href="#declarations">declarations</a><span class="type-signature"> : Object</span> </h3>
|
|
|
<div class="description">
|
|
|
@@ -1026,6 +1026,15 @@ this method might be used to convert a simple float string <code>"1.0"
|
|
|
<dt class="tag-returns"><strong>Returns:</strong> The generated shader string.</dt>
|
|
|
</dl>
|
|
|
</div>
|
|
|
+ <h3 class="name name-method" id="getActiveStack" translate="no">.<a href="#getActiveStack">getActiveStack</a><span class="signature">()</span><span class="type-signature"> : <a href="StackNode.html">StackNode</a></span> </h3>
|
|
|
+ <div class="method">
|
|
|
+ <div class="description">
|
|
|
+ <p>Returns the active stack.</p>
|
|
|
+ </div>
|
|
|
+ <dl class="details">
|
|
|
+ <dt class="tag-returns"><strong>Returns:</strong> The active stack.</dt>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
<h3 class="name name-method" id="getAttribute" translate="no">.<a href="#getAttribute">getAttribute</a><span class="signature">( name : <span class="param-type">string</span>, type : <span class="param-type">string</span> )</span><span class="type-signature"> : <a href="NodeAttribute.html">NodeAttribute</a></span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|
|
|
@@ -1073,6 +1082,15 @@ this method might be used to convert a simple float string <code>"1.0"
|
|
|
<dt class="tag-returns"><strong>Returns:</strong> The node attributes of this builder.</dt>
|
|
|
</dl>
|
|
|
</div>
|
|
|
+ <h3 class="name name-method" id="getBaseStack" translate="no">.<a href="#getBaseStack">getBaseStack</a><span class="signature">()</span><span class="type-signature"> : <a href="StackNode.html">StackNode</a></span> </h3>
|
|
|
+ <div class="method">
|
|
|
+ <div class="description">
|
|
|
+ <p>Returns the base stack.</p>
|
|
|
+ </div>
|
|
|
+ <dl class="details">
|
|
|
+ <dt class="tag-returns"><strong>Returns:</strong> The base stack.</dt>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
<h3 class="name name-method" id="getBindGroupArray" translate="no">.<a href="#getBindGroupArray">getBindGroupArray</a><span class="signature">( groupName : <span class="param-type">string</span>, shaderStage : <span class="param-type">'vertex' | 'fragment' | 'compute' | 'any'</span> )</span><span class="type-signature"> : Array.<<a href="NodeUniformsGroup.html">NodeUniformsGroup</a>></span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|
|
|
@@ -2147,6 +2165,15 @@ this method evaluate to <code>true</code>, WebGPU to <code>false</code>.</p>
|
|
|
<dt class="tag-returns"><strong>Returns:</strong> Whether the given type is a matrix type or not.</dt>
|
|
|
</dl>
|
|
|
</div>
|
|
|
+ <h3 class="name name-method" id="isOpaque" translate="no">.<a href="#isOpaque">isOpaque</a><span class="signature">()</span><span class="type-signature"> : boolean</span> </h3>
|
|
|
+ <div class="method">
|
|
|
+ <div class="description">
|
|
|
+ <p>Whether the material is opaque or not.</p>
|
|
|
+ </div>
|
|
|
+ <dl class="details">
|
|
|
+ <dt class="tag-returns"><strong>Returns:</strong> Whether the material is opaque or not.</dt>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
<h3 class="name name-method" id="isReference" translate="no">.<a href="#isReference">isReference</a><span class="signature">( type : <span class="param-type">string</span> )</span><span class="type-signature"> : boolean</span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|
|
|
@@ -2212,6 +2239,20 @@ this method evaluate to <code>true</code>, WebGPU to <code>false</code>.</p>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
+ <h3 class="name name-method" id="removeActiveStack" translate="no">.<a href="#removeActiveStack">removeActiveStack</a><span class="signature">( stack : <span class="param-type">StackNode</span> )</span> </h3>
|
|
|
+ <div class="method">
|
|
|
+ <div class="description">
|
|
|
+ <p>Removes the active stack from the internal stack.</p>
|
|
|
+ </div>
|
|
|
+ <table class="params">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td class="name"><code>stack</code></td>
|
|
|
+ <td class="description last"><p>The stack node to remove.</p></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
<h3 class="name name-method" id="removeChain" translate="no">.<a href="#removeChain">removeChain</a><span class="signature">( node : <span class="param-type">Node</span> )</span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|
|
|
@@ -2253,6 +2294,20 @@ this method evaluate to <code>true</code>, WebGPU to <code>false</code>.</p>
|
|
|
<dt class="tag-returns"><strong>Returns:</strong> The removed sub-build layer.</dt>
|
|
|
</dl>
|
|
|
</div>
|
|
|
+ <h3 class="name name-method" id="setActiveStack" translate="no">.<a href="#setActiveStack">setActiveStack</a><span class="signature">( stack : <span class="param-type">StackNode</span> )</span> </h3>
|
|
|
+ <div class="method">
|
|
|
+ <div class="description">
|
|
|
+ <p>Adds an active stack to the internal stack.</p>
|
|
|
+ </div>
|
|
|
+ <table class="params">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td class="name"><code>stack</code></td>
|
|
|
+ <td class="description last"><p>The stack node to add.</p></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
<h3 class="name name-method" id="setBuildStage" translate="no">.<a href="#setBuildStage">setBuildStage</a><span class="signature">( buildStage : <span class="param-type">'setup' | 'analyze' | 'generate'</span> )</span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|