MCPcopy Create free account
hub / github.com/cinder/Cinder / write

Method write

src/cinder/TriMesh.cpp:512–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512void TriMesh::write( const DataTargetRef &dataTarget, bool writeNormals, bool writeTangents ) const
513{
514 uint32_t mask = ~0u;
515 if( ! writeNormals )
516 mask &= ~toMask( geom::NORMAL );
517 if( ! writeTangents )
518 mask &= ~toMask( geom::TANGENT ) & ~toMask( geom::BITANGENT );
519 write( dataTarget, mask );
520}
521
522void TriMesh::write( const DataTargetRef &dataTarget, const std::set<geom::Attrib> &attribs ) const
523{

Callers

nothing calls this directly

Calls 7

getStreamMethod · 0.80
writeLittleMethod · 0.80
writeFunction · 0.50
writeDataMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected