Document non-optional texture update flags correctly.

This commit is contained in:
Ben Richards 2024-02-22 09:56:17 +13:00
parent a0aa09ff31
commit 198598882e

View file

@ -318,11 +318,11 @@ var WebGLTextureWrapper = new Class({
* @param {HTMLCanvasElement|HTMLVideoElement} source - The source to update the WebGLTexture with.
* @param {number} width - The new width of the WebGLTexture.
* @param {number} height - The new height of the WebGLTexture.
* @param {boolean} [flipY] - Should the WebGLTexture set `UNPACK_MULTIPLY_FLIP_Y`?
* @param {number} [wrapS] - The new wrapping mode for the WebGLTexture.
* @param {number} [wrapT] - The new wrapping mode for the WebGLTexture.
* @param {number} [minFilter] - The new minification filter for the WebGLTexture.
* @param {number} [magFilter] - The new magnification filter for the WebGLTexture.
* @param {boolean} flipY - Should the WebGLTexture set `UNPACK_MULTIPLY_FLIP_Y`?
* @param {number} wrapS - The new wrapping mode for the WebGLTexture.
* @param {number} wrapT - The new wrapping mode for the WebGLTexture.
* @param {number} minFilter - The new minification filter for the WebGLTexture.
* @param {number} magFilter - The new magnification filter for the WebGLTexture.
*/
update: function (source, width, height, flipY, wrapS, wrapT, minFilter, magFilter)
{