br
bgfx-rs
cargo install bgfx-rs
br

bgfx-rs

Rust wrapper for BGFX

by Daniel Collin

0.13.0 (see all)License:BSD-2-Clause
cargo install bgfx-rs
Readme

bgfx-rs

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

Currently being developed and the API is changing. The goal of this library is to cover the majority of the BGFX functionality while providing some Rust style convenience on top of the C API.

Usage

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

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.

GitHub Stars

50

LAST COMMIT

1mo ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.13.0
2d ago
0.12.0
2d ago
0.11.0
20d ago
0.10.0
1mo ago
No alternatives found
No tutorials found
Add a tutorial