There's a function Texture.fromImage in pixi to get texture from cache