未验证 提交 689f8bb3 编写于 作者: G greenfox1505 提交者: GitHub

Data Texture Update

Data Texture does not update itself automatically. This is either a bug or a documentation issue (this behaviour is not described in documentation).
上级 cce7e317
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
// used the buffer to create a [name] // used the buffer to create a [name]
var texture = new THREE.DataTexture( data, width, height, THREE.RGBFormat ); var texture = new THREE.DataTexture( data, width, height, THREE.RGBFormat );
texture.needsUpdate = true
</code> </code>
<h2>Properties</h2> <h2>Properties</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册