870 B
870 B
Clay (vendored)
clay.h — single-header UI layout library by Nic Barker
(https://github.com/nicbarker/clay), zlib license (see LICENSE).
- Version: 0.14 (
// VERSION: 0.14at the top ofclay.h) - Vendored from:
main@e6cc36941ab2af5d81107617039d6f527a1c660b(2026-05-20) - Why it fits the third-party policy (docs/03): one header, zero
dependencies (not even libc), arena-based (no malloc), renderer-agnostic —
it emits
Clay_RenderCommands thatsrc/render/clay_ui.cppdraws with raylib.
Integration notes (docs/11):
CLAY_IMPLEMENTATIONis defined in exactly one TU —src/render/clay_impl.cpp(same pattern asraygui_impl.cpp).- The header is not modified. Do not edit it; upgrades should replace the file wholesale so diffs against upstream stay readable.
- Requires C++20 (the project standard) or C99.