Quellcode durchsuchen

Merge pull request #14153 from greenfox1505/patch-1

Data Texture Update
Mr.doob vor 7 Jahren
Ursprung
Commit
a17dc8c812
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      docs/api/textures/DataTexture.html

+ 1 - 0
docs/api/textures/DataTexture.html

@@ -57,6 +57,7 @@
 		// used the buffer to create a [name]
 
 		var texture = new THREE.DataTexture( data, width, height, THREE.RGBFormat );
+		texture.needsUpdate = true
 		</code>
 
 		<h2>Properties</h2>