Skip to content

james4k/go-bgfx

Repository files navigation

bgfx

Package bgfx is a wrapper around Branimir Karadžić's rendering library of the same name. See https://github.com/bkaradzic/bgfx.

In progress and likely only works on OS X at this point. The current plan is to get as much working as possible, with little concern for performance or API design. This mostly means implementing a number of the original bgfx examples and the necessary APIs.

go get github.com/james4k/go-bgfx

Examples

GLFW is required to run the examples.

Installing and running the examples is simple, assuming you have your $GOPATH/bin setup in $PATH:

$ go get github.com/james4k/go-bgfx-examples/...
$ bgfx-01-cubes

If you want to see the sources to the shaders used by the examples, for now you should go to the original examples: https://github.com/bkaradzic/bgfx/tree/master/examples.

A note on the git submodules

The submodules are only used when running the prepare.sh script to generate go tool compatible code from the bgfx source. A side benefit is that the package is nice and lean in its default state.

Releases

No releases published

Packages

No packages published