#低级 #高级 #bgfx

sys bgfx-sys

bgfx的低级FFI绑定

14个重大版本更新

0.15.0 2024年3月21日
0.13.0 2023年10月23日
0.12.0 2023年3月18日
0.11.0 2022年11月17日
0.1.0 2021年6月28日

图形API中排名第321


bgfx-rs中使用

BSD-2-Clause许可

7.5MB
148K SLoC

C++ 116K SLoC // 0.1% comments C 14K SLoC // 0.2% comments Lua 6.5K SLoC // 0.0% comments Rust 5.5K SLoC // 0.0% comments Objective-C++ 4.5K SLoC // 0.0% comments Shell 594 SLoC // 0.3% comments Python 390 SLoC // 0.2% comments Scala 114 SLoC // 0.3% comments

包含(DOS可执行文件,550KB)bx/tools/bin/windows/genie.exe,(Mach-o可执行文件,550KB)bx/tools/bin/darwin/genie,(ELF可执行文件/库,545KB)bx/tools/bin/linux/genie,(DOS可执行文件,400KB)bx/tools/bin/windows/ninja.exe,(Mach-o可执行文件,180KB)bx/tools/bin/darwin/ninja,(ELF可执行文件/库,175KB)bx/tools/bin/linux/ninja 等6个文件。

BGFX的低级绑定

Maintenance status

此代码是Rust低级绑定,针对https://github.com/bkaradzic/bgfx。虽然可以直接在项目中使用,但建议使用这些高级绑定代替 https://github.com/emoon/bgfx-rs

无运行时依赖