OpenGL Java Binding. Where to begin?

Started by TechNick6425, August 09, 2013, 11:09:07

Previous topic - Next topic

TechNick6425

Is there a way to make an OpenGL binding for Java, but does not use external natives?

I don't want something like JOGL or LWJGL, I want something that works with static methods, so you can use the direct C api.

I also want it to not use natives. This will be for my game framework for Java.

Fool Running

No you can't. OpenGL is native by definition. There is no way around a native-side part to any OpenGL binding.

P.S. You can use LWJGL with static methods by using the static import keyword.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

spasi

You can try the Java Native Runtime library. It generates both the Java and native stubs at runtime (on x86/x64, not sure about ARM). It's also much faster than JNA.