LWJGL 2 to LWJGL 3 transition

Started by JamesYeoman, November 16, 2016, 16:42:49

Previous topic - Next topic

JamesYeoman

I am familiar with LWJGL 2 and want to be able to use LWJGL 3. Is there anything that will help me transitioning to the new api?

kappa


JamesYeoman


seventh-chord

One thing the guide does not mention is new system for allocating byte buffers in lwjgl 3. While lwjgl 2's BufferUtils still exists, you should really consider switching to the new systems, as they perform much better and do not create garbage collection problems (the source of many framerate stuttering issues). They are explained in part 2, 3 and 4 of this intro: https://github.com/LWJGL/lwjgl3-demos/tree/master/src/org/lwjgl/demo/intro