gpu_host

Opens a gpu device on the backend this machine has: Metal on a Mac, OpenGL elsewhere and where Metal is absent, Vulkan on Linux by name

loft install gpu_host
use gpu_host;
Guidenone yet — the API reference and the source below are what there is
Version0.1.1 — published 2026-11-20
CategoriesGraphics and 3D · Games
Requiresloft >=2026.10.0
CompatibilityAPI: no earlier release is a drop-in · stored data: no earlier release is a drop-in
Download9 kB
Public API4 items, with their documentation
Dependenciesgpu · gpu_gl · gpu_metal · gpu_vulkan
Used bygraphics
Sourceread it here — the libraries are written in loft
Repositoryhttps://github.com/loft-lang/loft-libs-graphics/tree/main/gpu_host

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.

← All libraries