summaryrefslogtreecommitdiff
path: root/gfx/renderable.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/renderable.h')
-rw-r--r--gfx/renderable.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/renderable.h b/gfx/renderable.h
new file mode 100644
index 0000000..e3a34dd
--- /dev/null
+++ b/gfx/renderable.h
@@ -0,0 +1,11 @@
+#ifndef RENDERABLE_H
+#define RENDERABLE_H
+
+class Shader;
+
+class Renderable {
+public:
+ virtual void render(const Shader & shader) const = 0;
+};
+
+#endif