I am trying to port this tutorial to Kotlin/Java with LWJGL3 using the "modern" OpenGL versions. I have followed this tutorial in c++, where I managed to create a coloured cube, that was rotated. Because I am not as familiar with c++, I made the decision to swap to Java/Kotlin.
I am unable to find the glewInit()
function in LWJGL3 and all the other stuff around GLEW. From what I have read, with glew I can access the modern OpenGL API.
I have looked up some LWJGL3 tutorials, but I was unable to find one with the modern OpenGL syntax.
I have also read this question where, the answer seemed to me like LWJGL3 is basically GLEW for Java.
So is it true that I must access GLEW in order to write a "modern" OpenGL application? And if so, how with LWJL3? Or is LWJGL3 the replacement for GLEW in Java?