Skip to content

chsc/gogl2

Repository files navigation

GoGL2

GoGL2 is the successor of GoGL.

Currently under development...

Why a new binding generator?

  • Support version 4.4 and higher
  • New spec file format (XML based), ...

Install the OpenGL bindings

For example, OpenGL 2.1 bindings can be installed using the go command:

go get github.com/chsc/gogl2/gl/3.1/gl

Documentation

Khronos documentation:

Examples

...

Manually build & install the binding generator

If you want to create your own bindings:

clone the repository:

git clone http://github.com/chsc/gogl2.git

or use the go command:

go get github.com/chsc/gogl2

To generate the bindings (the fast way), simply type:

make bindings

This will download, build and install the latest OpenGL bindings.

Use

gogl2 -help

for more information about GoGL's command line arguments.

About

OpenGL binding generator (new XML spec file format)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages