Skip to content

Commit

Permalink
Docs: Cloning the texture automatically mark it for texture upload (#…
Browse files Browse the repository at this point in the history
…30285)

* cloning the texture automatically mark it for texture upload

* fix typo
  • Loading branch information
jirihon authored Jan 8, 2025
1 parent 48df2ee commit f2cf01c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/api/en/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,7 @@ <h3>[method:undefined updateMatrix]()</h3>
<h3>[method:Texture clone]()</h3>
<p>
Make copy of the texture. Note this is not a "deep copy", the image is
shared. Besides, cloning a texture does not automatically mark it for a
texture upload. You have to set [page:Texture.needsUpdate .needsUpdate] to
true as soon as its image property (the data source) is fully loaded or
ready.
shared. Cloning the texture automatically marks it for texture upload.
</p>

<h3>[method:Object toJSON]( [param:Object meta] )</h3>
Expand Down

0 comments on commit f2cf01c

Please sign in to comment.