glad(1)

glad1

Generator of api for graphics programming

Usage

usage: glad [-h] [--profile core,compatibility] --out-path OUT [--api API]

Overview

Uses the official Khronos-XML specs to generate a GL/GLES/EGL/GLX/WGL Loader made for your needs. Glad currently supports the languages C, D, Nim, Pascal and Volt.

--generator {c,c-debug,d,nim,pascal,volt} [--extensions EXTENSIONS] [--spec {gl,egl,glx,wgl}] [--no-loader] [--omit-khrplatform] [--local-files] [--quiet]

Options

-h, --help

show this help message and exit

--profile {core,compatibility}

OpenGL profile (defaults to compatibility)

--out-path OUT

Output path for loader

--api API

API type/version pairs, like "gl=3.2,gles=", no version means latest

--generator {c,c-debug,d,nim,pascal,volt}

Language to generate the binding for

--extensions EXTENSIONS

Path to extensions file or comma separated list of extensions, if missing all extensions are included

--spec {gl,egl,glx,wgl}

Name of the spec

--no-loader

--omit-khrplatform

Omits inclusion of the khrplatform.h file which is often unnecessary. Only has an effect if used together with c generators.

--local-files

Forces every file directly into the output directory. No src or include subdirectories are generated. Only has an effect if used together with c generators.

--quiet

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

From python3-glad 2.0.2-0.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.