How to add new bindings to LWJGL 3? [solved]

Started by Misterpin, March 07, 2018, 18:23:20

Previous topic - Next topic

Misterpin

Hello! Can I make bindings in lwjgl myself?
Thank you!

spasi

Yes, you can. This is the latest commit that adds a new binding. It should give you a feel of how much work is needed and which files must change in LWJGL.

Some kinds of bindings are more difficult than others, and may require more elaborate setup. My advice is: find an existing binding that is similar to the one you want to add, copy its structure and slowly adjust it to the new binding, while monitoring the generated output. It will give you a good feel of what changes in the Kotlin templates produce what C/Java output.

Finally, I'm always available on slack if you need help with anything.