X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Finstancescene.h;fp=source%2Frender%2Finstancescene.h;h=0000000000000000000000000000000000000000;hb=5b652353d545a3190ea2d86ba82a87b2e3382a0d;hp=ae9b637b8560543cda0b83e625507e4d9dd5e0be;hpb=dbc91b65728ab9c0e574bb1127cfe4d2da55de7f;p=libs%2Fgl.git diff --git a/source/render/instancescene.h b/source/render/instancescene.h deleted file mode 100644 index ae9b637b..00000000 --- a/source/render/instancescene.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef MSP_GL_INSTANCESCENE_H_ -#define MSP_GL_INSTANCESCENE_H_ - -#include -#include -#include -#include -#include "scene.h" - -namespace Msp { -namespace GL { - -/** -A Scene optimized for rendering instanced Renderables, such as ObjectInstances. -All Renderables with the same instance key are rendered consecutively; within -the same key rendering order is unspecified. -*/ -class DEPRECATED InstanceScene: public Scene -{ -private: - typedef std::set RenderableSet; - typedef std::map InstanceMap; - - InstanceMap renderables; - -public: - virtual void add(Renderable &); - virtual void remove(Renderable &); - - virtual void setup_frame(Renderer &); - virtual void finish_frame(); - - virtual void render(Renderer &, Tag tag = Tag()) const; -}; - -} // namespace GL -} // namespace Msp - -#endif