Closed Jeremboo closed 8 months ago
I'm using a canvas as texture and it's working perfectly!
const myTexture = new Texture(gl); myTexture.image = myCanvas.canvas;
But typescript complains because HTMLCanvasElement is not part of the typing ImageRepresnetation.
HTMLCanvasElement
ImageRepresnetation
LGTM
@gordonnl bump ☝️😉
I'm using a canvas as texture and it's working perfectly!
But typescript complains because
HTMLCanvasElement
is not part of the typingImageRepresnetation
.