text: /*
   *  SimpleRenderEngine (https://github.com/mortennobel/SimpleRenderEngine)
   *
   *  Created by Morten Nobel-Jørgensen ( http://www.nobel-joergnesen.com/ )
   *  License: MIT
   */
  
  
  // ImGui SDL2 binding with SimpleRenderEngine
  //
  // If you use this binding you'll need to call 5 functions: ImGui_SRE_Init(), ImGui_SRE_NewFrame(), ImGui::Render(), ImGui_SRE_ProcessEvent() and ImGui_SRE_Shutdown().
  // If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp.
  // https://github.com/ocornut/imgui
  #pragma once
  #include <imgui.h>
  
  struct SDL_Window;
  typedef union SDL_Event SDL_Event;
  
  namespace sre{
  
  IMGUI_API bool        ImGui_SRE_Init(SDL_Window *window);       // ImGui_SRE_Init must be called before usage (usually in a setup step)
  IMGUI_API void        ImGui_SRE_NewFrame(SDL_Window *window);   // ImGui_SRE_NewFrame must be invoked in the beginning of each frame before any other ImGui calls
  IMGUI_API bool        ImGui_SRE_ProcessEvent(SDL_Event *event); // ImGui_SRE_ProcessEvent must be invoked in the beginning of each frame before any other ImGui calls
  IMGUI_API void        ImGui_SRE_Shutdown();                     // ImGui_SRE_Shutdown destroys and releases resources owned by ImGui
  
  
  
  IMGUI_API void        ImGui_SRE_InvalidateDeviceObjects();      // Use if you want to reset your rendering device without losing ImGui state.
  IMGUI_API bool        ImGui_SRE_CreateDeviceObjects();
  }