1
0
Fork 0
mirror of https://github.com/gwm17/Specter.git synced 2025-03-14 06:28:50 -04:00
Specter/Navigator/src/Navigator/Renderer/RendererAPI.h

28 lines
376 B
C++

#ifndef RENDERER_API_H
#define RENDERER_API_H
#include "Navigator/NavCore.h"
namespace Navigator {
class NAV_API RendererAPI
{
public:
enum class API
{
None = 0,
OpenGL = 1
};
virtual void Clear() = 0;
virtual void SetClearColor(const float* color_array) = 0;
inline static API GetAPI() { return s_api; }
private:
static API s_api;
};
}
#endif