Nomy1 / sokol-zig

Zig bindings for the sokol headers (https://github.com/floooh/sokol)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-generated Zig bindings for the sokol headers.

For Zig version 0.8.0

If you're on a different Zig version, check the following branches:

  • zig-0.7.1
  • ...(to be continued)

WIP, because not all sokol-headers have been added yet.

Related projects:

BUILD

Supported platforms are: Windows, macOS, Linux (with X11)

On Linux install the following packages: libglu1-mesa-dev, mesa-common-dev, xorg-dev, libasound-dev

# just build:
> zig build
# build and run samples:
> zig build run-clear
> zig build run-triangle
> zig build run-quad
> zig build run-bufferoffsets
> zig build run-cube
> zig build run-noninterleaved
> zig build run-texcube
> zig build run-offscreen
> zig build run-instancing
> zig build run-mrt
> zig build run-saudio
> zig build run-sgl
> zig build run-debugtext
> zig build run-debugtext-print
> zig build run-debugtext-userfont
> zig build run-shapes

About

Zig bindings for the sokol headers (https://github.com/floooh/sokol)


Languages

Language:C 66.7%Language:Zig 20.6%Language:Objective-C 12.4%Language:GLSL 0.3%