mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 00:21:04 +00:00
Document non-optional texture update flags correctly.
This commit is contained in:
parent
a0aa09ff31
commit
198598882e
1 changed files with 5 additions and 5 deletions
|
@ -318,11 +318,11 @@ var WebGLTextureWrapper = new Class({
|
||||||
* @param {HTMLCanvasElement|HTMLVideoElement} source - The source to update the WebGLTexture with.
|
* @param {HTMLCanvasElement|HTMLVideoElement} source - The source to update the WebGLTexture with.
|
||||||
* @param {number} width - The new width of the WebGLTexture.
|
* @param {number} width - The new width of the WebGLTexture.
|
||||||
* @param {number} height - The new height of the WebGLTexture.
|
* @param {number} height - The new height of the WebGLTexture.
|
||||||
* @param {boolean} [flipY] - Should the WebGLTexture set `UNPACK_MULTIPLY_FLIP_Y`?
|
* @param {boolean} flipY - Should the WebGLTexture set `UNPACK_MULTIPLY_FLIP_Y`?
|
||||||
* @param {number} [wrapS] - The new wrapping mode for the WebGLTexture.
|
* @param {number} wrapS - The new wrapping mode for the WebGLTexture.
|
||||||
* @param {number} [wrapT] - 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} minFilter - The new minification filter for the WebGLTexture.
|
||||||
* @param {number} [magFilter] - The new magnification filter for the WebGLTexture.
|
* @param {number} magFilter - The new magnification filter for the WebGLTexture.
|
||||||
*/
|
*/
|
||||||
update: function (source, width, height, flipY, wrapS, wrapT, minFilter, magFilter)
|
update: function (source, width, height, flipY, wrapS, wrapT, minFilter, magFilter)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue