A multi-language loader-generator for Vulkan, OpenGL, GLES, EGL, GLX, and WGL based on official specifications.
Glad is a loader-generator for graphics APIs like Vulkan, OpenGL, GLES, EGL, GLX, and WGL. It automates the creation of API loaders in multiple programming languages, solving the problem of manually managing function pointers and API initialization for cross-platform graphics development.
Graphics developers working with Vulkan or OpenGL across different languages and platforms, especially those using C, C++, or Rust who need reliable API loading.
Developers choose Glad for its strict adherence to official specifications, multi-language support, and ability to generate clean, efficient loaders that reduce boilerplate and simplify graphics API integration.
Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates loaders strictly based on official Khronos specifications for Vulkan, OpenGL, and related APIs, ensuring compliance and reducing bugs.
Supports C, C++, Rust, and other languages via plugins, enabling cross-language graphics development with consistent API loading.
Allows lazy loading of API functions to optimize performance by only loading necessary parts, as demonstrated in the on-demand examples.
Works with various windowing systems like GLFW, SDL, X11, and WGL, facilitating development across different operating systems.
Version 2.0 introduces API changes that may require code modifications for existing projects, as noted in the README.
Some languages are only available in the older glad1 generator, limiting options for users of glad2 and relying on community plugins.
Requires using a webservice or command-line tool to generate loaders, adding an extra step compared to pre-built libraries.