|
|
@@ -111,9 +111,9 @@ now defines indirect draw calls.</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="member">
|
|
|
- <h3 class="name" id="indirectOffset" translate="no">.<a href="#indirectOffset">indirectOffset</a><span class="type-signature"> : number</span> </h3>
|
|
|
+ <h3 class="name" id="indirectOffset" translate="no">.<a href="#indirectOffset">indirectOffset</a><span class="type-signature"> : number | Array.<number></span> </h3>
|
|
|
<div class="description">
|
|
|
- <p>The offset, in bytes, into the indirect drawing buffer where the value data begins.</p>
|
|
|
+ <p>The offset, in bytes, into the indirect drawing buffer where the value data begins. If an array is provided, multiple indirect draw calls will be made for each offset.</p>
|
|
|
<p>Can only be used with <a href="WebGPURenderer.html">WebGPURenderer</a> and a WebGPU backend.</p>
|
|
|
<p>Default is <code>0</code>.</p>
|
|
|
</div>
|
|
|
@@ -130,7 +130,7 @@ now defines indirect draw calls.</p>
|
|
|
<div class="description">
|
|
|
<p>This dictionary holds the morph targets of the geometry.</p>
|
|
|
<p>Note: Once the geometry has been rendered, the morph attribute data cannot
|
|
|
-be changed. You will have to call `dispose()?, and create a new geometry instance.</p>
|
|
|
+be changed. You will have to call <code>dispose()</code>, and create a new geometry instance.</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="member">
|
|
|
@@ -652,7 +652,7 @@ data from the array. The length of the array must match the vertex count.</p>
|
|
|
<dt class="tag-returns"><strong>Returns:</strong> A reference to this instance.</dt>
|
|
|
</dl>
|
|
|
</div>
|
|
|
- <h3 class="name name-method" id="setIndirect" translate="no">.<a href="#setIndirect">setIndirect</a><span class="signature">( indirect : <span class="param-type"><a href="BufferAttribute.html">BufferAttribute</a></span>, indirectOffset : <span class="param-type">number</span> )</span><span class="type-signature"> : <a href="BufferGeometry.html">BufferGeometry</a></span> </h3>
|
|
|
+ <h3 class="name name-method" id="setIndirect" translate="no">.<a href="#setIndirect">setIndirect</a><span class="signature">( indirect : <span class="param-type"><a href="BufferAttribute.html">BufferAttribute</a></span>, indirectOffset : <span class="param-type">number | Array.<number></span> )</span><span class="type-signature"> : <a href="BufferGeometry.html">BufferGeometry</a></span> </h3>
|
|
|
<div class="method">
|
|
|
<div class="description">
|
|
|
<p>Sets the given indirect attribute to this geometry.</p>
|
|
|
@@ -672,7 +672,7 @@ data from the array. The length of the array must match the vertex count.</p>
|
|
|
<strong>indirectOffset</strong>
|
|
|
</td>
|
|
|
<td class="description last">
|
|
|
- <p>The offset, in bytes, into the indirect drawing buffer where the value data begins.</p>
|
|
|
+ <p>The offset, in bytes, into the indirect drawing buffer where the value data begins. If an array is provided, multiple indirect draw calls will be made for each offset.</p>
|
|
|
<p>Default is <code>0</code>.</p>
|
|
|
</td>
|
|
|
</tr>
|