LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 628 forks source link

What's the current state of LWJGL usage with OpenJFx? #943

Open junglie85 opened 7 months ago

junglie85 commented 7 months ago

Question

I’m looking for a cross platform GUI solution that can display a native render surface, ideally being presented to by a native C++ library. I’ve seen lots of discussions and posts about how this is not possible, or opening an OpenGL window alongside the glfw window. I’d ideally like this to be embedded in JavaFx.

what is the current state of integration with JavaFx?

Spasi commented 7 months ago

Hey @junglie85,

I'm not aware of any progress on this front. The most promising solution remains DriftFX.

DontingK commented 7 months ago

OpenJFx is available in lwjgl3. I have successfully embedded jme3 into javafx.

https://github.com/DontingK/jme3-fx-awt