Skip to content

gmacd/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.

This is a fork of James Gray's earlier work on go-bgfx and go-bgfx-examples.

go get github.com/gmacd/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/gmacd/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

Languages

  • C 57.4%
  • C++ 39.3%
  • Objective-C 1.9%
  • Go 1.2%
  • Other 0.2%