SimpleEngine/include/simpleengine/renderable.h

19 lines
402 B
C
Raw Permalink Normal View History

#pragma once
2022-09-16 15:14:38 +00:00
#include "event/event.h"
#include <GLFW/glfw3.h>
2022-09-16 15:14:38 +00:00
#include <memory>
namespace simpleengine {
class Renderable : public simpleengine::Event {
private:
using Super = simpleengine::Event;
public:
Renderable() = default;
virtual ~Renderable() = default;
virtual void render(const float& interpolate_alpha, const float& frame_time) = 0;
};
}