MCPcopy Create free account
hub / github.com/ImageEngine/cortex / hash

Method hash

src/IECoreVDB/VDBObject.cpp:331–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void VDBObject::hash( IECore::MurmurHash &h ) const
332{
333 IECoreScene::VisibleRenderable::hash( h );
334
335 if( unmodifiedFromFile() && m_lockedFile && m_lockedFile->file)
336 {
337 h.append( m_lockedFile->file->filename() );
338 return;
339 }
340
341 for( const auto& it : m_grids )
342 {
343 h.append( it.second.hash() );
344 }
345}
346
347void VDBObject::copyFrom( const IECore::Object *other, IECore::Object::CopyContext *context )
348{

Calls 4

MurmurHashClass · 0.85
appendMethod · 0.80
hashFunction · 0.50
writeTransformMethod · 0.45