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

Method memoryUsage

src/IECoreScene/Primitive.cpp:473–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void Primitive::memoryUsage( Object::MemoryAccumulator &a ) const
474{
475 VisibleRenderable::memoryUsage( a );
476 for( PrimitiveVariableMap::const_iterator it=variables.begin(); it!=variables.end(); it++ )
477 {
478 a.accumulate( it->second.data.get() );
479 }
480}
481
482void Primitive::hash( MurmurHash &h ) const
483{

Callers

nothing calls this directly

Calls 4

accumulateMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected