This is similar to `setTextureElement`, so maybe just adapt the method to accept the new way of adding textures https://developer.chrome.com/blog/html-in-canvas-origin-trial
This is similar to
setTextureElement, so maybe just adapt the method to accept the new way of adding textureshttps://developer.chrome.com/blog/html-in-canvas-origin-trial