void av::gua::MaterialShaderDescription::on_distribute(av::gua::NetTransform& netNode) { for(auto& method : VertexMethods.getValue()) { method->on_distribute(netNode); netNode.distributeFieldContainer(method); } for(auto& method : FragmentMethods.getValue()) { method->on_distribute(netNode); netNode.distributeFieldContainer(method); } }
void distributeFieldContainerHelper(av::gua::NetTransform& self, boost::python::object obj) { av::Base* av_value = boost::python::extract<av::Base*>(obj); av::Link<av::FieldContainer> tmp = dynamic_cast<FieldContainer*>(av_value); self.distributeFieldContainer(tmp); }
void av::gua::nurbs::NURBSNode::on_distribute(av::gua::NetTransform& netNode) { GeometryNode::on_distribute(netNode); if (m_Material.isValid()) { m_Material->on_distribute(netNode); } netNode.distributeFieldContainer(m_Material); }