If that’s the case you can serialize the dynamic texture and create a new texture based on the URL provided. You can then eliminate the dynamic texture. something like this:
Dynamic Texture Example | Babylon.js Playground (babylonjs.com)
(lines 50-54)