Registry / other / glad
library0.1.36vcpkgunverified

Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

vcpkg install glad
INSTALL
IMPORT
SIG · GLAD
G
glad
othercppv0.1.36
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

glad/glad.h
#include <glad/glad.h>

Initialize OpenGL context and load OpenGL functions using glad.

#include <glad/glad.h> #include <GLFW/glfw3.h> int main() { glfwInit(); GLFWwindow* window = glfwCreateWindow(800, 600, "Hello", nullptr, nullptr); glfwMakeContextCurrent(window); gladLoadGLLoader((GLADloadproc)glfwGetProcAddress); glClearColor(0.0f, 0.0f, 0.0f, 1.0f); while (!glfwWindowShouldClose(window)) { glClear(GL_COLOR_BUFFER_BIT); glfwSwapBuffers(window); glfwPollEvents(); } glfwDestroyWindow(window); glfwTerminate(); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.36latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

glad — pip install glad · libregistry