Libgdx save SpriteBatch in a texture
问题 I would like to know if it possible to save a spriteBatch in a texture . SpriteBatch batch = new SpriteBatch(); After drawing a few thing inside the batch , I would like to save all thing that contains the SpriteBatch in One texture (something like a screenshot ). I have no idea to how to do it, I searched on the web and on the libgdx doc but didn't found. Thanks you 回答1: You can render to a FrameBufferObject (FBO). See https://github.com/mattdesl/lwjgl-basics/wiki/FrameBufferObjects An FBO