#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
+{
+ return object.has_pass(tag);
+}
+
+void ObjectInstance::render(const Tag &tag) const
{
- object.render(this);
+ object.render(*this, tag);
}
} // namespace GL