https://github.com/droyo/go.gl
Minimal OpenGL bindings for Go
https://github.com/droyo/go.gl
Last synced: 5 months ago
JSON representation
Minimal OpenGL bindings for Go
- Host: GitHub
- URL: https://github.com/droyo/go.gl
- Owner: droyo
- License: mit
- Created: 2013-10-26T20:22:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-04-13T00:17:11.000Z (over 8 years ago)
- Last Synced: 2024-06-22T09:51:50.134Z (about 2 years ago)
- Language: C
- Size: 80.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WORK IN PROGRESS - INCOMPLETE
This is a subset of OpenGL bindings meant to be easy to use from Go.
They were made by generating bindings using [Christoph Schunk's
GoGL2 utility][0] and modifying the output to be easier to use with
Go. For example, setup functions like BindBuffer and CompileShader,
that are not expected to be in a tight loop, return errors, and
functions like glBufferData expect a slice of numbers and use
reflection to figure out the other arguments. Additional type safety is
achieved by explicitly defining types for OpenGL objects (Buffer, Program, etc).
[0]: https://github.com/chsc/gogl2