GitHub Hot Board

GitHub Hot Board · 저장소 아카이브

Dav1dde/glad

Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs. (소개는 저장소 자체 문서에서 왔습니다.)

데이터 기준 October 26Dav1dde

최고 순위

#482

종합 · C 언어별

4.6K

누적 스타

512

포크 수

0

최근 30일 기록 일수

프로젝트 상태라이선스: NOASSERTION최근 push: September 28열린 이슈(PR 포함): 33

2026-10-25부터 수집. 미확인 = 아직 미수집

README에 뱃지를 붙여보세요 · Dav1dde/glad[![README에 뱃지를 붙여보세요](https://git.vaiox.xyz/api/badge/Dav1dde/glad.svg)](https://git.vaiox.xyz/ko/repo/Dav1dde/glad)
<a href="https://git.vaiox.xyz/ko/repo/Dav1dde/glad"><img src="https://git.vaiox.xyz/api/badge/Dav1dde/glad.svg" alt="README에 뱃지를 붙여보세요" height="20"></a>

프로젝트 문서

glad

Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications for multiple languages.

Check out the webservice for glad2 to generate the files you need!

NOTE: This is the 2.0 branch, which adds more functionality but changes the API.

Some languages are only available in the glad1 generator.

Examples

#include <glad/gl.h>
// GLFW (include after glad)
#include <GLFW/glfw3.h>


int main() {
    // -- snip --

    GLFWwindow* window = glfwCreateWindow(WIDTH, HEIGHT, "LearnOpenGL", NULL, NULL);
    glfwMakeContextCurrent(window);

    int version = gladLoadGL(glfwGetProcAddress);
    if (version == 0) {
        printf("Failed to initialize OpenGL context\n");
        return -1;
    }

    // Successfully loaded OpenGL
    printf("Loaded OpenGL %d.%d\n", GLAD_VERSION_MAJOR(version), GLAD_VERSION_MINOR(version));

    // -- snip --
}

The full code: hellowindow2.cpp

More examples in the examples directory of this repository.

Plugins

Glad plugins maintained by the community to add support for more languages:

Documentation

The documentation can be found in the wiki.

Examples can be found in the example directory. Some examples:

License

For the source code and various Khronos files see LICENSE.

The generated code from glad is any of Public Domain, WTFPL or CC0. Now Khronos has some of their specifications under Apache Version 2.0 license which may have an impact on the generated code, see this clarifying comment on the Khronos / OpenGL-Specification issue tracker.

현재 순위

  • 482

    종합 랭킹 · 역대 최강 · C

    4.6K 스타 · 512 fork · 총 스타 수

    종합 · C →

최근 30일 추이

최근 30일간 기록이 없습니다.

비슷한 프로젝트 · 공유 토픽

← 랭킹으로