|
|
@@ -134,6 +134,94 @@ is defined, the texture node is generated as normal texture.</p>
|
|
|
<dt class="tag-returns"><strong>Returns:</strong> The generated code snippet.</dt>
|
|
|
</dl>
|
|
|
</div>
|
|
|
+ <h3 class="name name-method" id="generateSnippet" translate="no">.<a href="#generateSnippet">generateSnippet</a><span class="signature">( builder : <span class="param-type"><a href="NodeBuilder.html">NodeBuilder</a></span>, textureProperty : <span class="param-type">string</span>, uvSnippet : <span class="param-type">string</span>, levelSnippet : <span class="param-type">string</span>, biasSnippet : <span class="param-type">string</span>, depthSnippet : <span class="param-type">string</span>, compareSnippet : <span class="param-type">string</span>, gradSnippet : <span class="param-type">Array.<string></span>, offsetSnippet : <span class="param-type">string</span> )</span><span class="type-signature"> : string</span> </h3>
|
|
|
+ <div class="method">
|
|
|
+ <div class="description">
|
|
|
+ <p>Generates the snippet for the storage texture.</p>
|
|
|
+ </div>
|
|
|
+ <table class="params">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">builder</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The current node builder.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">textureProperty</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The texture property.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">uvSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The uv snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">levelSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The level snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">biasSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The bias snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">depthSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The depth snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">compareSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The compare snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">gradSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The grad snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="name">
|
|
|
+ <strong translate="no">offsetSnippet</strong>
|
|
|
+ </td>
|
|
|
+ <td class="description last">
|
|
|
+ <p>The offset snippet.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <dl class="details">
|
|
|
+ <dt class="tag-overrides"><strong>Overrides:</strong> <a href="TextureNode.html#generateSnippet">TextureNode#generateSnippet</a></dt>
|
|
|
+ </dl>
|
|
|
+ <dl class="details">
|
|
|
+ <dt class="tag-returns"><strong>Returns:</strong> The generated code snippet.</dt>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
<h3 class="name name-method" id="generateStore" translate="no">.<a href="#generateStore">generateStore</a><span class="signature">( builder : <span class="param-type"><a href="NodeBuilder.html">NodeBuilder</a></span> )</span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|