Spaces:
Running
Running
File size: 370 Bytes
2b7aae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { Texture } from './Texture.js';
class CanvasTexture extends Texture {
constructor(canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy) {
super(canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy);
this.needsUpdate = true;
}
}
CanvasTexture.prototype.isCanvasTexture = true;
export { CanvasTexture };
|