Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add docs for updateRanges #27148

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix InterleavedBuffer name in docs
  • Loading branch information
gkjohnson committed Nov 8, 2023
commit a48bcf83b5a265563f3fae9972abb26a2ad001e0
2 changes: 1 addition & 1 deletion docs/api/en/core/BufferAttribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h3>[method:this transformDirection]( [param:Matrix4 m] )</h3>
BufferAttribute, interpreting the elements as a direction vectors.
</p>

<h3>[method:this addUpdateRange]( [param:Number start], [param:Number count] )</h3>
<h3>[method:this addUpdateRange]( [param:Integer start], [param:Integer count] )</h3>
<p>
Adds a range of data in the data array to be updated on the GPU. Adds an
object describing the range to the [page:BufferAttribute.updateRanges updateRanges]
Expand Down
6 changes: 3 additions & 3 deletions docs/api/en/core/InterleavedBuffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ <h3>[property:Usage usage]</h3>

<h2>Methods</h2>

<h3>[method:this addUpdateRange]( [param:Number start], [param:Number count] )</h3>
<h3>[method:this addUpdateRange]( [param:Integer start], [param:Integer count] )</h3>
<p>
Adds a range of data in the data array to be updated on the GPU. Adds an
object describing the range to the [page:BufferAttribute.updateRanges updateRanges]
object describing the range to the [page:InterleavedBuffer.updateRanges updateRanges]
array.
</p>

<h3>[method:this clearUpdateRanges]()</h3>
<p>
Clears the [page:BufferAttribute.updateRanges updateRanges] array.
Clears the [page:InterleavedBuffer.updateRanges updateRanges] array.
</p>

<h3>[method:this copy]( [param:InterleavedBuffer source] )</h3>
Expand Down