#include "objectinstance.h"
#include "programdata.h"
+using namespace std;
+
namespace Msp {
namespace GL {
object(obj)
{ }
-void ObjectInstance::render() const
+bool ObjectInstance::has_pass(const Tag &tag) const
{
- object.render(this);
+ return object.has_pass(tag);
}
-void ObjectInstance::render(const std::string &pn) const
+void ObjectInstance::render(const Tag &tag) const
{
- object.render(pn, this);
+ object.render(*this, tag);
}
} // namespace GL