I added WebGPU support for desktop and web in LittleKt game framework. It replaces OpenGL. It uses WGPU for desktop with the newly stable Java FFM API. It can be used locally at the moment. Working on getting Android support back in. https://github.com/littlektframework/littlekt/tree/webgpu
❤️ 4
🎉 6
👍 9
m
Mikolaj
06/11/2024, 8:45 AM
Hello! Do you have any insights on enabling FFM on Android or you just going to write JNI wrappers? 🙌
l
LeHaine
06/11/2024, 10:54 AM
I am going to have to write JNI wrappers for Android 😬
m
Mikolaj
06/11/2024, 10:57 AM
Right 😄 Take a look at SWIG, it helped me a lot. Its also supported in CMake so you can generate wrappers on each build.
Mikolaj
06/11/2024, 10:57 AM
Also JNA could be an option but is relatively slow...
Mikolaj
06/11/2024, 10:58 AM
hmu if you need help with JNI and SWIG. I've done some work on the topic recently so I can help
l
LeHaine
06/11/2024, 4:22 PM
Awesome! Thanks for the tips. I'll definitely check it out. And perhaps I will! Thanks!