2022-07-08 13:06:09 +00:00
|
|
|
// dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline
|
|
|
|
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
|
2019-09-09 07:01:26 +00:00
|
|
|
|
|
|
|
#pragma once
|
2022-07-08 13:06:09 +00:00
|
|
|
#include "imgui.h" // IMGUI_IMPL_API
|
2019-09-09 07:01:26 +00:00
|
|
|
|
2019-10-27 10:41:16 +00:00
|
|
|
// Backend API
|
2022-07-08 13:06:09 +00:00
|
|
|
bool ImGui_ImplOpenGL3_Init(const char* glsl_version = NULL);
|
|
|
|
void ImGui_ImplOpenGL3_Shutdown();
|
|
|
|
void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
|
2019-09-09 07:01:26 +00:00
|
|
|
|
2019-10-27 10:41:16 +00:00
|
|
|
// (Optional) Called by Init/NewFrame/Shutdown
|
2022-07-08 13:06:09 +00:00
|
|
|
bool ImGui_ImplOpenGL3_CreateFontsTexture();
|
|
|
|
void ImGui_ImplOpenGL3_DestroyFontsTexture();
|
|
|
|
bool ImGui_ImplOpenGL3_CreateDeviceObjects();
|
|
|
|
void ImGui_ImplOpenGL3_DestroyDeviceObjects();
|