0

LWJGL is a wrapper for opengl for java. But how does it wrap? Does it somehow invoke c++ functions in the opengl.dll? Are the functions in opengl.dll even c++?

4
  • 1
    You can look at the code here: sourceforge.net/projects/java-game-lib/ Commented Jun 30, 2013 at 9:30
  • OpenGL API is usually in C, so LWJGL just wraps it by calling native methods. Commented Jun 30, 2013 at 13:33
  • @matias could you elaborate? I don't know what "native methods" are and how they are invoked. Commented Jun 30, 2013 at 14:24
  • @BlazArt You should look up JNI Commented Jun 30, 2013 at 17:54

1 Answer 1

1

The JMonkey engine should support open GL 2 trough 4 http://jmonkeyengine.org/

Sign up to request clarification or add additional context in comments.

1 Comment

This is not the type of answer I am looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.