For OpenGL. There are many texture loaders that I could use, but what are the basics for what you need changing a bufferedimage to bytebuffer? I just don't want to copy/paste the code directly, I'd rather know what it means.
For starters, what information does the bytebuffer need to get from bufferedimage and how is it gotten?