Explorar el Código

Docs: Improve Texture page. (#22986)

Michael Herzog hace 3 años
padre
commit
a4e6029210
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      docs/api/en/textures/Texture.html
  2. 1 0
      docs/api/zh/textures/Texture.html

+ 1 - 0
docs/api/en/textures/Texture.html

@@ -282,6 +282,7 @@
 		<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] to true as soon as its image property (the data source) is fully loaded or ready.
 		</p>
 
 		<h3>[method:Object toJSON]( [param:Object meta] )</h3>

+ 1 - 0
docs/api/zh/textures/Texture.html

@@ -275,6 +275,7 @@
 		<h3>[method:Texture clone]()</h3>
 		<p>
 			拷贝纹理。请注意。这不是“深拷贝”,图像是共用的。
+			Besides, cloning a texture does not automatically mark it for a texture upload. You have to set [page:Texture.needsUpdate] to true as soon as its image property (the data source) is fully loaded or ready.
 		</p>
 
 		<h3>[method:Object toJSON]( [param:Object meta] )</h3>