Skip to content
Rust wrapper around bgfx.
Branch: master
Clone or download
Latest commit 11a8af6 May 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bgfx-sys Updating bgfx and fixing build. May 29, 2017
examples Updating bgfx and fixing build. May 29, 2017
scripts Building mingw releases on appveyor. Jan 20, 2016
src Updating bgfx and fixing build. May 29, 2017
.gitattributes Adding .gitattributes Oct 19, 2015
.gitignore Initial commit Sep 21, 2015
.gitmodules Updating bgfx and fixing build. May 29, 2017
.travis.yml
Cargo.toml Updating bgfx and fixing build. May 29, 2017
LICENSE
Makefile Threading overhaul. Jan 5, 2016
README.md Updating README.md May 29, 2017
appveyor.yml Updating bgfx and fixing build. May 29, 2017
rustfmt.toml Changing newline style to "Native". Nov 15, 2015

README.md

bgfx-rs travis-ci status appveyor status

Rust wrapper around bgfx, providing a clean, safe API for rust applications.

Please read the crate documentation for build requirements and crate limitations before using.

Note: I was originally using this crate as a way of learning Rust. Since I personally stopped using Rust again however, this crate has ended up more or less unmaintained. There are a couple of forks that have some more work put into it already, but if someone wants to take over the project for real, please let me know so I can direct users to your fork instead.

Documentation

API Documentation

Examples

To run the examples, invoke them through cargo:

cargo run --example 00-helloworld
cargo run --example 01-cubes

OSX Note: There is currently no really clean way to exit the examples in OSX, and closing the window may in fact cause a crash. This is due to limitations in glutin (specifically #468 and #520). This only effects the examples, and not the crate itself. The best way of closing them is to simply Ctrl-C in the console.

License

Copyright (c) 2015-2016, Johan Sköld

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

You can’t perform that action at this time.