Skip to content
modkitv0.2

bgfx Escape Hatch

← All examples30_bgfx_escape_hatch

Demonstrates mixing mk_ and raw bgfx APIs in the same program: - Uses int main() + mk_app_run() (not MK_MAIN macro) - Calls bgfx_get_caps(), bgfx_get_stats() directly - Uses bgfx_touch() alongside mk_ view functions - Displays bgfx stats via debug text

bgfx Escape Hatch

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
30
Tags
bgfx
Source
examples/30_bgfx_escape_hatch/main.c

Build and run

./scripts/build-linux.sh release --target=30_bgfx_escape_hatch --run