#include "bindable.h"
#include "renderable.h"
#include "renderpass.h"
+#include "resourcewatcher.h"
namespace Msp {
namespace GL {
Scene, with different model matrices. ObjectInstances can be used to alter the
rendering of an object on a per-instance basis.
*/
-class Object: public Renderable
+class Object: public Renderable, private ResourceWatcher
{
public:
class Loader: public DataFile::CollectionObjectLoader<Object>
private:
const RenderPass *get_pass(const Tag &) const;
+
+ virtual void resource_loaded(Resource &);
};
} // namespace GL