- /**
- Hook function, called from Object right after rendering the mesh.
- */
- virtual void finish_render(const ObjectPass &) const { }
+ /** Hook function, called from Object right after rendering the mesh. Since
+ Object takes care of pushing Renderer state, this rarely needs to do
+ anything. */
+ virtual void finish_render(Renderer &, const Tag &) const { }