We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a8a6c commit 8e4cc05Copy full SHA for 8e4cc05
1 file changed
src/vgl/texture.js
@@ -157,10 +157,10 @@ vgl.texture = function () {
157
* Set Raw Texture data using Uint8Array
158
*
159
* @param {object} texture texture object to load.
160
- * type: 'RGB' | 'RGBA' | 'Luminance' | 'LuminanceAlpha'.
161
- * texture: Uint8Array representing the format based on the type
162
- * width: width of the texture
163
- * height: height of the texture
+ * @param {string?} texture.type One of 'RGBA' | 'Luminance' | 'LuminanceAlpha'.
+ * @param {Uint8Array} texture.data Array representing the format based on the type
+ * @param {number} texture.width width of the texture
+ * @param {number} texture.height height of the texture
164
* @returns {boolean}
165
*/
166
this.setTexture = function (texture) {
0 commit comments