xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
imguiglfw3opengl3backend.hpp
浏览该文件的文档.
1
12#pragma once
13#include <xcal/public.h>
14
16
17struct GLFWwindow;
20 private:
21 GLFWwindow *window_;
22
23 public:
24 explicit ImGuiGlfw3OpenGL3Backend(GLFWwindow *window) : window_(window) {}
25 void init() override;
26 void deinit() override;
27 void new_frame() override;
28 void draw_data() override;
29
30 public:
34 delete;
36};
37} // namespace xcal::render::opengl::ui
ImGuiGlfw3OpenGL3Backend(ImGuiGlfw3OpenGL3Backend &&)=delete
ImGuiGlfw3OpenGL3Backend & operator=(ImGuiGlfw3OpenGL3Backend &&)=delete
ImGuiGlfw3OpenGL3Backend & operator=(const ImGuiGlfw3OpenGL3Backend &)=delete
ImGuiGlfw3OpenGL3Backend(const ImGuiGlfw3OpenGL3Backend &)=delete
#define XCAL_API
Definition public.h:69
struct GLFWwindow GLFWwindow
Definition typedef.hpp:6