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

Method writeAttribute

src/IECoreScene/SceneCache.cpp:2417–2428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2415}
2416
2417void SceneCache::writeAttribute( const Name &name, const Object *attribute, double time )
2418{
2419 WriterImplementation *writer = WriterImplementation::writer( m_implementation.get() );
2420
2421 if ( name == animatedObjectTopologyAttribute || name == animatedObjectPrimVarsAttribute )
2422 {
2423 // ignore reserved attribute names
2424 return;
2425 }
2426
2427 writer->writeAttribute( name, attribute, time );
2428}
2429
2430bool SceneCache::hasTag( const Name &name, int filter ) const
2431{

Callers 15

writeSCCMethod · 0.95
writeSCCMethod · 0.95
writeBigSCCMethod · 0.45
testDeprecatedSplinesMethod · 0.45
testCopyReturnValuesMethod · 0.45
testWritingMethod · 0.45
testTimeRemappingMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 15

writeSCCMethod · 0.76
testDeprecatedSplinesMethod · 0.36
testCopyReturnValuesMethod · 0.36
testWritingMethod · 0.36
testTimeRemappingMethod · 0.36