Skip to content

Liam-Malone/zgl

This branch is 1 commit ahead of, 33 commits behind ziglibs/zgl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7cba7d7 · Jan 14, 2024
Feb 21, 2022
Jul 3, 2020
Jul 3, 2020
Oct 11, 2022
Aug 13, 2023
Jan 14, 2024
Mar 18, 2021
Oct 19, 2023
Nov 28, 2023

Repository files navigation

ZGL – Zig OpenGL Bindings

This library provides a thin, type-safe binding for OpenGL.

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.

Generated Bindings

This library includes OpenGL 4.5 bindings, generated by zig-opengl. Bindings for a different version may be substituted by replacing binding.zig.

About

Zig OpenGL Wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%