called before and after drawing the mesh. */
virtual void render(Renderer &, const ObjectInstance &, const Tag & = Tag()) const;
+protected:
+ virtual void setup_render(Renderer &, const Tag &) const { }
+ virtual void finish_render(Renderer &, const Tag &) const { }
+
private:
const RenderPass *get_pass(const Tag &) const;
};