summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/renderable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/renderable.h b/gfx/renderable.h
index e3a34dd..dea36c6 100644
--- a/gfx/renderable.h
+++ b/gfx/renderable.h
@@ -1,10 +1,16 @@
#ifndef RENDERABLE_H
#define RENDERABLE_H
+#include <special_members.hpp>
+
class Shader;
class Renderable {
public:
+ Renderable() = default;
+ virtual ~Renderable() = default;
+ DEFAULT_MOVE_COPY(Renderable);
+
virtual void render(const Shader & shader) const = 0;
};