xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
imguiglfw3opengl3backend.cc
浏览该文件的文档.
1#include <imgui_impl_glfw.h>
2#include <imgui_impl_opengl3.h>
3
5
7 ImGui_ImplGlfw_InitForOpenGL(window_, true);
8 ImGui_ImplOpenGL3_Init("#version 330 core");
9}
11 ImGui_ImplOpenGL3_Shutdown();
12 ImGui_ImplGlfw_Shutdown();
13};
15 ImGui_ImplOpenGL3_NewFrame();
16 ImGui_ImplGlfw_NewFrame();
17}
19 ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
20};