]> git.tdb.fi Git - libs/gl.git/blob - source/renderable.h
Add class Renderable
[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
13 namespace Msp {
14 namespace GL {
15
16 class Renderable
17 {
18 public:
19         virtual bool has_pass(const std::string &pn) const =0;
20
21         virtual void render() const =0;
22         virtual void render(const std::string &pn) const =0;
23 };
24
25 } // namespace Msp
26 } // namespace GL
27
28 #endif