I am currently writing an application that makes heavy use of Textures that are constantly being changed. More specifically, they are being updated from a BufferedImage. I was curious if there is a “best practice” in JOGL for updating Textures for performance and reliability?
I see that TextureData is useful as a separation to allow the data to be populated in a separate thread and then and then loading into a Texture in the GL thread but should one be created every time there is an update or should it be updated? I apologize for the newbie questions, and as far as OpenGL specifics go I’m reading quite lot but things that are specific to Java and/or JOGL I’m having a real hard time finding any good documentation for.