Initial draw package

This commit is contained in:
Zachary Levy
2026-04-14 16:16:50 -07:00
parent 59c600d630
commit c786147720
26 changed files with 4371 additions and 1 deletions

View File

@@ -1,3 +1,19 @@
# LevLib
Narya + BFPOWER unified Odin library collection.
## Meta Tools
The `meta/` package contains build tools that can be run from the project root:
```
odin run meta -- <command>
```
Running with no arguments prints available commands.
### Commands
| Command | Description |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `gen-shaders` | Compile all GLSL shaders in `draw/shaders/source/` to SPIR-V and Metal Shading Language, writing results to `draw/shaders/generated/`. Requires `glslangValidator` and `spirv-cross` on PATH. |