Skip to content

Commit 2da5118

Browse files
authored
Update Backend.js
Fix interface method, see #30584.
1 parent 7284747 commit 2da5118

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/renderers/common/Backend.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,10 @@ class Backend {
346346
* @param {Texture} dstTexture - The destination texture.
347347
* @param {?Vector4} [srcRegion=null] - The region of the source texture to copy.
348348
* @param {?(Vector2|Vector3)} [dstPosition=null] - The destination position of the copy.
349-
* @param {number} [level=0] - The mip level to copy.
349+
* @param {number} [srcLevel=0] - The source mip level to copy from.
350+
* @param {number} [dstLevel=0] - The destination mip level to copy to.
350351
*/
351-
copyTextureToTexture( /*srcTexture, dstTexture, srcRegion = null, dstPosition = null, level = 0*/ ) {}
352+
copyTextureToTexture( /*srcTexture, dstTexture, srcRegion = null, dstPosition = null, srcLevel = 0, dstLevel = 0*/ ) {}
352353

353354
/**
354355
* Copies the current bound framebuffer to the given texture.

0 commit comments

Comments
 (0)