Go to the documentation of this file.
46 #if !defined(IMGUI_IMPL_OPENGL_LOADER_GL3W) \
47 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLEW) \
48 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLAD) \
49 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLBINDING2) \
50 && !defined(IMGUI_IMPL_OPENGL_LOADER_GLBINDING3) \
51 && !defined(IMGUI_IMPL_OPENGL_LOADER_CUSTOM)
52 #if defined(__has_include)
53 #if __has_include(<glad/glad.h>)
54 #define IMGUI_IMPL_OPENGL_LOADER_GLAD
55 #elif __has_include(<GL/gl3w.h>)
56 #define IMGUI_IMPL_OPENGL_LOADER_GL3W
57 #elif __has_include(<GL/glew.h>)
58 #define IMGUI_IMPL_OPENGL_LOADER_GLEW
59 #elif __has_include(<glbinding/glbinding.h>)
60 #define IMGUI_IMPL_OPENGL_LOADER_GLBINDING3
61 #elif __has_include(<glbinding/Binding.h>)
62 #define IMGUI_IMPL_OPENGL_LOADER_GLBINDING2
64 #error "Cannot detect OpenGL loader!"
67 #define IMGUI_IMPL_OPENGL_LOADER_GL3W // Default to GL3W
IMGUI_IMPL_API void ImGui_ImplOpenGL3_NewFrame()
IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyFontsTexture()
IMGUI_IMPL_API void ImGui_ImplOpenGL3_Shutdown()
IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateFontsTexture()
IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateDeviceObjects()
IMGUI_IMPL_API bool ImGui_ImplOpenGL3_Init(const char *glsl_version=NULL)
IMGUI_IMPL_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData *draw_data)
IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyDeviceObjects()
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:54