API Overview
SafiEngine API
SafiEngine is a pure-C game engine built on SDL3 (with the SDL_gpu API), flecs for ECS, cglm for math, MicroUI for the debug overlay, and cgltf for model loading. Every subsystem below ships as part of the engine and is available by including <safi/safi.h> (umbrella header) or individual <safi/…/…> headers.
Zero setup
All dependencies are pulled in by CMake FetchContent. You only need CMake and a C/C++ compiler — no manual brew install, no submodules, no shader toolchains.
Subsystems
Feature status
See the full Feature Roadmap for a detailed breakdown of every feature's implementation status.
Quickstart
main.c
See the full runnable example at SafiEngine/examples/gltf_viewer/main.c.