← ziglang.inraylib-zigGitHub

API reference

raylib-zig has 1001 functions. Each entry shows the Zig signature, the C one it wraps, raylib's description, and the examples that call it. The reference is generated from the same data as the Zig API, so it matches the code.

In Zig, a function keeps raylib's name with the first letter in lower case: DrawText isrl.drawText. raymath is rl.math, rlgl is rl.gl, and raygui is a module of its own, @import("raygui"), without the Gui prefix: GuiButton isgui.button.

ModuleCoversFunctions
coreWindow, drawing, shaders, timing, files and input.211
gesturesTouch and mouse gestures.8
camera3D camera modes and movement.14
shapes2D shapes, splines and collision checks.75
texturesImages (CPU), textures (GPU) and colors.125
textFonts, text drawing, codepoints and strings.59
models3D shapes, models, meshes, materials and animation.73
audioAudio device, sounds, music and streams.66
mathVectors, matrices and quaternions (raymath, as rl.math).146
glrlgl, raylib's OpenGL layer (as rl.gl).163
rayguiImmediate-mode GUI controls (as @import("raygui")).61