• Stars
    star
    312
  • Rank 129,440 (Top 3 %)
  • Language
    Zig
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Zig OpenGL Wrapper

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.

More Repositories

1

known-folders

Provides access to well-known folders across several operating systems
Zig
190
star
2

s2s

A zig binary serialization format.
Zig
109
star
3

zlm

Zig linear mathemathics
Zig
109
star
4

positron

A web renderer frontend for zig applications
C++
95
star
5

repository

A community-maintained repository of zig packages
Zig
94
star
6

ansi-term

Zig library for dealing with ANSI terminals
Zig
51
star
7

zinput

A Zig command-line input library!
Zig
45
star
8

zig-lsp

Microsoft's Language Server Protocol implemented in Zig for use in zls and beyond! <3
Zig
42
star
9

tres

ValueTree-based JSON parser
Zig
39
star
10

fontaine

A library to support text rendering in arbitrary contexts
Zig
33
star
11

zig-lv2

Zig-intuitive bindings for LV2.
Zig
30
star
12

antiphony

A zig remote procedure call solution
Zig
26
star
13

treez

tree-sitter bindings for Zig
Zig
26
star
14

zorm

Lightweight and efficient object-relational mapping
Zig
25
star
15

funzig

Fun functional functionality for Zig!
Zig
25
star
16

eggzon

πŸ₯šZon - A DOM based Zig Object Notation parser
Zig
21
star
17

painterz

Low-level implementation of different painting primitives (lines, rectangles, ...) without specialization on a certain draw target
Zig
21
star
18

ini

A teeny tiny ini parser
Zig
17
star
19

tree-sitter-zig

Zig tree-sitter grammar
JavaScript
16
star
20

zigfp

Basic fixed point implementation in Zig.
Zig
16
star
21

string-searching

String(not limited to []const u8)-searching algorithms in zig
Zig
15
star
22

diffz

Implementation of go-diff's diffmatchpatch in Zig
Zig
15
star
23

zCOM

A composable network protocol stack for embedded and desktop.
Zig
14
star
24

lscolors

A zig library for colorizing paths according to LS_COLORS
Zig
11
star
25

computils

Zig utilities for all your comptime needs.
Zig
9
star
26

zig-windows-console

Zig Windows Console stuff
Zig
5
star
27

comptemplate

Comptime Templates
Zig
5
star
28

zdb

Allocator-free document oriented database management. WIP
Zig
4
star
29

zwin

Making windows with Zig! (Only works on Windows at the moment)
Zig
4
star
30

package-collector

Collects packages from all over the ziguanity.
Go
3
star
31

uuencode

Unix-To-Unix-Encoding for Zig
Zig
2
star
32

wavefront-obj

A parser for wavefront object files
Zig
2
star