The LWJGL 3 Vulkan template generator is a tool that parses the Vulkan API specification and generates LWJGL 3 Generator templates. The goal is to fully automate the process of updating the LWJGL bindings of Vulkan and all its extensions.
This repository has been ported to lwjgl3-openxrgen.
The mechanics of parsing the corresponding -Docs repositories are almost identical.
Changes to this repo should be synced with lwjgl3-openxrgen and vice-versa.
This means extra work for the maintainers, but more flexibility in case the mechanics diverge.
If they prove stable, it should not be too difficult to merge the two repos and abstract the source/target differences.
- Clone Vulkan-Docs.
- Apply the LWJGL-fixes patch. (e.g.
patch -p1 < LWJGL-fixes.patchunder<Vulkan-Docs>/) - Build the reference pages. All extensions should be included (e.g.
./makeAllExts -j 8 manhtmlpagesunder<Vulkan-Docs>/). - Clone LWJGL 3.
- Set
path.vulkan-docsandpath.lwjgl3inpom.xmlto the root of the cloned Vulkan-Docs and LWJGL 3 repositories respectively. - Run
mvn compile exec:java.