-
Notifications
You must be signed in to change notification settings - Fork 0
OpenGL utility functions for Go
License
spate/gla
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
OpenGL utility functions for Go This package provides utility functions for tighter integration with Go than a more conservative wrapping might provide. It is intended to be used in conjunction with such a wrapper. Currently, it depends lightly on github.com/banthar/gl Utility function list: TexImage2DFromImage - load texture image from image.Image TexSubImage2DFromImage (*) - load texture subimage from image.Image CompressedTexImage2DFromImage - load texture image from image.Image - only accepts Dxt1,Dxt3,Dxt5 (from glimage pkg) - see github.com/spate/glimage/dds for a DDS loader BufferData BufferSubData (*) - wraps glBufferData, glBufferSubData - accepts pointers and slices to plain old data VertexAttribSlice - wraps glVertexAttribPointer usage with VBOs VertexSlice NormalSlice (*) ColorSlice (*) TexCoordSlice - wrap equivalent glBlahPointer functions (*) indicates untested This package is provided under a Clear BSD License.
About
OpenGL utility functions for Go
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published