3 This file is part of libmspgl
4 Copyright © 2007, 2011 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_RENDERABLE_H_
9 #define MSP_GL_RENDERABLE_H_
24 virtual ~Renderable() { }
26 /** Returns a key used for grouping Renderables in an InstanceScene. */
27 virtual long get_instance_key() const { return 0; }
29 virtual void render(const Tag & = Tag()) const;
30 virtual void render(Renderer &, const Tag & = Tag()) const;