#include "bindable.h"
#include "renderable.h"
#include "renderpass.h"
-#include "resourcewatcher.h"
+#include "resourceobserver.h"
namespace Msp {
namespace GL {
0, with increasing indices having less detail. When rendering an instance, the
instance's get_level_of_detail method is called to determine which LoD to use.
*/
-class Object: public Renderable, private ResourceWatcher
+class Object: public Renderable, private ResourceObserver
{
private:
struct LevelOfDetail;
virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const { return &bounding_sphere; }
- virtual void render(const Tag &tag = Tag()) const;
-
virtual void render(Renderer &, const Tag & = Tag()) const;
/** Renders an instance of the object. The instance's hook functions are