MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / exportMesh

Method exportMesh

OgreMain/src/OgreMeshSerializer.cpp:87–96  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

85 }
86 //---------------------------------------------------------------------
87 void MeshSerializer::exportMesh( const Mesh *pMesh, const String &filename, Endian endianMode )
88 {
89 std::fstream *f = OGRE_NEW_T( std::fstream, MEMCATEGORY_GENERAL )();
90 f->open( filename.c_str(), std::ios::binary | std::ios::out );
91 DataStreamPtr stream( OGRE_NEW FileStreamDataStream( f ) );
92
93 exportMesh( pMesh, stream, endianMode );
94
95 stream->close();
96 }
97 //---------------------------------------------------------------------
98 void MeshSerializer::exportMesh( const Mesh *pMesh, const String &filename, MeshVersion version,
99 Endian endianMode )

Callers 3

exportItemMethod · 0.45
exportEntityMethod · 0.45
createScene01Method · 0.45

Calls 6

exportMeshFunction · 0.50
openMethod · 0.45
c_strMethod · 0.45
closeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected