void Primitive::addUniformAttribute( const std::string &name, IECore::ConstDataPtr data ) { m_uniformAttributes[name] = data->copy(); }
void Primitive::addVertexAttribute( const std::string &name, IECore::ConstDataPtr data ) { m_vertexAttributes[name] = data->copy(); }
void IECoreArnold::RendererImplementation::setAttribute( const std::string &name, IECore::ConstDataPtr value ) { m_attributeStack.top().attributes->writable()[name] = value->copy(); }