2023-03-14 13:36:58 +00:00
|
|
|
#ifndef _LI_RENDERER_H
|
|
|
|
#define _LI_RENDERER_H 1
|
|
|
|
#include <imgui.h>
|
2023-03-20 09:39:23 +00:00
|
|
|
#include <string>
|
2023-03-14 13:36:58 +00:00
|
|
|
namespace Li::Gui {
|
|
|
|
class Renderer {
|
|
|
|
public:
|
|
|
|
virtual void InitImgui() {};
|
|
|
|
virtual void ImGuiNewFrame() {};
|
2023-03-20 09:39:23 +00:00
|
|
|
virtual void Render() {};
|
|
|
|
virtual void Resize(int newWidth, int newHeight) {};
|
|
|
|
virtual int WindowWidth() { return 0; };
|
|
|
|
virtual int WindowHeight() { return 0; };
|
|
|
|
virtual int CompileShader(std::string shaderSrc, std::string entryPoint, std::string shaderModel, void** shaderObjectOut) { return -1; };
|
2023-03-14 13:36:58 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|