Zig OpenGL Wrapper https://github.com/ziglibs/zgl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BratishkaErik 6e59f91744 add generateMipmap() 2 weeks ago
OpenGL-Registry@04eeb97933 Initial commit: Some functions implemented, coding style established. 1 year ago
.gitignore Initial commit: Some functions implemented, coding style established. 1 year ago
.gitmodules Initial commit: Some functions implemented, coding style established. 1 year ago
LICENSE Initial commit: Some functions implemented, coding style established. 1 year ago
README.md Update README.md 10 months ago
gyro.zzz Add Gyro support 9 months ago
types.zig Merge branch 'master' into more-int-uniforms 3 months ago
zgl.zig add generateMipmap() 2 weeks ago

README.md

ZGL – Zig OpenGL Bindings

This library provides a thin, type-safe binding for OpenGL on top of libepoxy.

Example

// Use classic OpenGL flavour
var vao = gl.createVertexArray();
defer gl.deleteVertexArray(vao);

// Use object oriented flavour
var vertex_buffer = gl.Buffer.create();
defer vertex_buffer.delete();

Development Philosophy

This library is developed incrementally. That means that functions and other things will be included on-demand and not just for the sake of completeness.

If you think a function is missing, fork the library, implement the missing function similar to the other functions and make a pull request. Issues that request implementation of missing functions will be closed immediatly.