X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstancescene.h;h=d23fbb1f4001043379f3bc564a7eab23796618b0;hb=d031a80ea06e3ccd01041e9c6024fa62adf25160;hp=021a2b3f94e69ccbd41c298a11da1b6e7559eec7;hpb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;p=libs%2Fgl.git diff --git a/source/instancescene.h b/source/instancescene.h index 021a2b3f..d23fbb1f 100644 --- a/source/instancescene.h +++ b/source/instancescene.h @@ -16,14 +16,17 @@ the same key rendering order is unspecified. class InstanceScene: public Scene { private: - typedef std::set RenderableSet; + typedef std::set RenderableSet; typedef std::map InstanceMap; InstanceMap renderables; public: - virtual void add(const Renderable &); - virtual void remove(const Renderable &); + virtual void add(Renderable &); + virtual void remove(Renderable &); + + virtual void setup_frame() const; + virtual void finish_frame() const; using Scene::render; virtual void render(Renderer &, const Tag &tag = Tag()) const;