Skip to content

Commit 46d80d0

Browse files
authored
Merge pull request #20809 from gkjohnson/patch-2
Add encoding to DataTexture constructor docs
2 parents f62c3df + 488d833 commit 46d80d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/en/textures/DataTexture.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1>[name]</h1>
1616

1717
<h2>Constructor</h2>
1818

19-
<h3>[name]( data, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy )</h3>
19+
<h3>[name]( data, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding )</h3>
2020
<p>
2121
The data argument must be an [link:https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView ArrayBufferView].
2222
Further parameters correspond to the properties inherited from [page:Texture], where both magFilter and minFilter default to THREE.NearestFilter. The properties flipY and generateMipmaps are intially set to false.

0 commit comments

Comments
 (0)