Native C/C++ layout & styling library concept untuk UI tools/engine editor berbasis OpenGL/Vulkan, dengan arah backend masa depan seperti WebGPU, Metal, Direct3D, software rasterizer, dan custom engine renderer.
ZLay tidak membawa CSS runtime, DOM scripting, WebKit, atau Chromium. Core-nya menghasilkan layout dan render commands; backend yang menerjemahkan command itu ke platform/renderer yang dipilih.
- Dokumentasi:
docs/README.md - Visi:
docs/vision.md
cmake --preset debug
cmake --build --preset debug -j
./build/debug/zlay_example_basicpython3 scripts/zlay.py
python3 scripts/zlay.py --preset release
python3 scripts/zlay.py --backend gtk
python3 scripts/zlay.py clean --backend gtk- C API core:
#include "zlay.h" - Example/tutorial helper:
#include "zlay_example.h" - Backend interfaces:
#include "backends/zlay_backends.h" - Renderer backends:
#include "backends/renderer/opengl/zlay_opengl_renderer_backend.h"atau#include "backends/renderer/vulkan/zlay_vulkan_renderer_backend.h" - Platform backends:
#include "os/zlay_os.h"
zlay.h: public single entry untuk core C API.zlay/: implementasi core, components, renderer, backends, drivers, shader API, dan OS facade.third_party/: dependensi vendor yang diisolasi dari core ZLay.shader/: source shader asli per bahasa yang di-embed saat build.include/: helper untuk example/tutorial, bukan tempat implementasi core.