#pragma once #include #include class RenderingBackend { protected: GLFWwindow* mWindow; public: virtual ~RenderingBackend() = default; virtual void BeginFrame() = 0; virtual void EndFrame() = 0; GLFWwindow* GetWindow() const; /// Common GLFW error handle callback for each rendering backend to use. static void GlfwErrorCallback(int error, const char* message); };