19 breaking releases

0.20.0 Mar 21, 2024
0.19.0 Oct 23, 2023
0.18.0 Mar 18, 2023
0.16.0 Nov 17, 2022
0.1.0 Jun 28, 2021

#95 in Graphics APIs

Download history 6/week @ 2024-02-18 22/week @ 2024-02-25 2/week @ 2024-03-03 4/week @ 2024-03-10 151/week @ 2024-03-17 7/week @ 2024-03-24 359/week @ 2024-03-31

521 downloads per month

BSD-2-Clause

570KB
10K SLoC

bgfx-rs

Maintenance status

Notice that this project is looking for a maintainer. If you are interested in maintaining this project, please open an issue.

Bindings for BGFX

Rust bindings to bgfx, a cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

Why another wrapper?

While this wrapper for Rust exists, the code here takes a different approach and generate high-level bindings from the BGFX API def instead which will allow easier updating of the bindings once the API changes with much reduced work. In some cases there will be manual implementation where it makes sense to provide more ergonomic Rust code where auto-generation is difficult.

Status

The crate is not being developed actively.

Usage

# Cargo.toml
[dependencies]
bgfx-rs = "0.20"

The library doesn't include any window handling and that has to be provided by the user. See examples an how to use GLFW

License

Licensed under BSD 2-Clause to keep the license the same the BGFX code.

Dependencies

~7.5MB
~153K SLoC