diff --git a/src/textures/CanvasTexture.d.ts b/src/textures/CanvasTexture.d.ts index 31ab8d884f666a..8a04dc4ed89178 100644 --- a/src/textures/CanvasTexture.d.ts +++ b/src/textures/CanvasTexture.d.ts @@ -22,7 +22,7 @@ export class CanvasTexture extends Texture { * @param [encoding=THREE.LinearEncoding] */ constructor( - canvas: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, + canvas: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, mapping?: Mapping, wrapS?: Wrapping, wrapT?: Wrapping,