3 ms·
I wonder how this will affect java minecraft on the mac. Does LWJGL have a Metal backend?
by WA9ACE 6y ago
I wonder how this will affect java minecraft on the mac. Does LWJGL have a Metal backend?
- Fej 6y agoIt does not appear to have a Metal backend - just OpenGL and Vulkan. From what I can tell, commercial game devs treat Mac gaming as an edge case and mostly only the large engine devs care about Metal support (with exceptions, of course).
- tamarok 6y agoIt looks like Minecraft is already using Metal. LWJGL makes use of other low level APIs by means of BGFX, since version 3.1.0 (per release notes) and Metal is one of the current targets. Looking at a running 1.15 Minecraft instance I see it is using lwjgl 3.2.1 and there a link to "net.java.openjdk.cmd/com.apple.metal", when I do an lsof. Any further insight would be appreciated.
- tamarok 6y agoLWJGL does appear to support Metal via BGFX. I would be curious to see how to patch the library to use this. The other question I would have is how this behaves with shaders, such as BSL? Links: - https://github.com/LWJGL/lwjgl3/blob/master/doc/notes/3.1.0.md - https://github.com/bkaradzic/bgfx