X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Frenderable.h;h=4175dd81294821f7d8d7c82d76c286ca99ad8cc0;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=80fe172eb7435b44f147d4324294b6c72b5d5fd2;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/render/renderable.h b/source/render/renderable.h index 80fe172e..4175dd81 100644 --- a/source/render/renderable.h +++ b/source/render/renderable.h @@ -2,7 +2,7 @@ #define MSP_GL_RENDERABLE_H_ #include -#include +#include #include #include "tag.h" @@ -33,10 +33,6 @@ protected: public: virtual ~Renderable() { } - /** Returns a key used for grouping Renderables in an InstanceScene. The - returned value is treated as opaque. */ - virtual IntPtr get_instance_key() const { return 0; } - /** Returns the model matrix of the Renderable. Null is returned if no such matrix exists. The matrix should be in world space for some effects to work correctly. */ @@ -55,7 +51,7 @@ public: /** Renders the Renderable. Implementors should take care to return the renderer to the state it was in, for example by using Renderer::Push. */ - virtual void render(Renderer &, const Tag & = Tag()) const = 0; + virtual void render(Renderer &, Tag = Tag()) const = 0; }; } // namespace Msp