]> git.tdb.fi Git - libs/gl.git/blob - source/renderable.h
Require mspgbase now that Image was moved there
[libs/gl.git] / source / renderable.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_RENDERABLE_H_
9 #define MSP_GL_RENDERABLE_H_
10
11 #include <string>
12 #include "tag.h"
13
14 namespace Msp {
15 namespace GL {
16
17 class Renderable
18 {
19 public:
20         virtual bool has_pass(const Tag &tag) const =0;
21         virtual void render(const Tag &tag=Tag()) const =0;
22 };
23
24 } // namespace Msp
25 } // namespace GL
26
27 #endif