Drawing on a GPU through pipelines, passes and uniform blocks, with no graphics stack named: a backend library beneath it draws
loft install gpu
use gpu;
| Guide | none yet — the API reference and the source below are what there is |
|---|---|
| Version | 0.4.3 — published 2026-11-20 |
| Categories | Graphics and 3D · Games |
| Requires | loft >=2026.10.0 |
| Compatibility | API: drop-in for 0.4.1 and later · stored data: drop-in for 0.4.1 and later |
| Download | 18 kB |
| Public API | 73 items, with their documentation |
| Dependencies | none |
| Used by | gpu_gl · gpu_host · gpu_metal · gpu_paint · gpu_record · gpu_vulkan · graphics · scene3d · stage |
| Source | read it here — the libraries are written in loft |
| Repository | https://github.com/loft-lang/loft-libs-graphics/tree/main/gpu |
A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.