How can convert Texture2D to BufferedImage?

how can convert Texture2D to BufferedImage?

BufferedImage img = ImageIO.read(assetManager.locateAsset(new AssetKey("Textures/GUI/Windows/Panel-BG.png")).openStream());

You really need to start providing more information with your questions.

There are a couple different ways that I could answer this question but all but one of them is probably wasting my time. I just don’t know which one.