1
0
Fork 0
mirror of https://github.com/gwm17/Daqromancy.git synced 2025-04-21 16:08:51 -04:00
Daqromancy/src/Renderer/RendererAPI.h
2022-09-27 14:44:08 -04:00

26 lines
352 B
C++

#ifndef RENDERER_API_H
#define RENDERER_API_H
namespace Daqromancy {
class RendererAPI
{
public:
enum class API
{
None=0,
OpenGL
};
virtual void Clear() = 0;
virtual void SetClearColor(float color[4]) = 0;
virtual double GetFrameTime() = 0;
static API GetAPI() { return s_api; }
private:
static API s_api;
};
}
#endif