A cross-platform graphics library for LuaJIT entirely from scratch. Based upon the WebGPU and Vulkan specifications.
See the triangle example for the full code.
| Backend | Windows | Linux | macOS |
|---|---|---|---|
| OpenGL 4.3+ | ✅ | ✅ | ❌ |
| Vulkan | ✅ | ✅ | ❌ |
Use this package with the lde package manager.
lde add hoodEdit the "features" in lde.json to enable the desired backend.
Accepted options are "gl" and "vk"
You can run the example quite simply with
ldx triangle --git https://github.com/bycruz/hood