Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/api/en/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ <h3>[property:Source source]</h3>
transformations.
</p>

<h3>[property:Array updateRanges]</h3>
<p>
This can be used to only update a subregion or specific rows of the texture (for example, just
the first 3 rows). Use the [page:Texture.addUpdateRange .addUpdateRange] function to add ranges to this array.
</p>

<h2>Methods</h2>

<p>
Expand Down Expand Up @@ -332,6 +338,16 @@ <h3>[method:Vector2 transformUv]( [param:Vector2 uv] )</h3>
[page:Texture.wrapT .wrapT] and [page:Texture.flipY .flipY] properties.
</p>

<h3>[method:undefined addUpdateRange]( [param:number start], [param:number count] )</h3>
<p>
Adds a range of data in the data texture to be updated on the GPU.
</p>

<h3>[method:undefined clearUpdateRanges]()</h3>
<p>
Clears the update ranges.
</p>

<h2>Source</h2>

<p>
Expand Down