I'm currently trying to learn, how to program with LWJGL 3, and there are not a lot of tutorials/books/documentations about it (not just in java, but in C too). I got over most of these problems, but I couldn't find any materials about how to render with ByteBuffers or how to convert them into textures. Thanks for the help.
After a while, I found out, that you can use the glTexImage2D
method, to store a ByteBuffer in a texture.