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

Method save

src/IECoreScene/PointsPrimitive.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void PointsPrimitive::save( IECore::Object::SaveContext *context ) const
82{
83 Primitive::save( context );
84 IndexedIOPtr container = context->container( staticTypeName(), m_ioVersion );
85 container->write( g_numPointsEntry, static_cast<unsigned int>(m_numPoints) );
86}
87
88void PointsPrimitive::load( IECore::Object::LoadContextPtr context )
89{

Callers

nothing calls this directly

Calls 2

containerMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected