MCPcopy Create free account
hub / github.com/assimp/assimp / ~Importer

Method ~Importer

code/Common/Importer.cpp:177–198  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------ Destructor of Importer

Source from the content-addressed store, hash-verified

175// ------------------------------------------------------------------------------------------------
176// Destructor of Importer
177Importer::~Importer() {
178 // Delete all import plugins
179 DeleteImporterInstanceList(pimpl->mImporter);
180
181 // Delete all post-processing plug-ins
182 for( unsigned int a = 0; a < pimpl->mPostProcessingSteps.size(); ++a ) {
183 delete pimpl->mPostProcessingSteps[a];
184 }
185
186 // Delete the assigned IO and progress handler
187 delete pimpl->mIOHandler;
188 delete pimpl->mProgressHandler;
189
190 // Kill imported scene. Destructor's should do that recursively
191 delete pimpl->mScene;
192
193 // Delete shared post-processing data
194 delete pimpl->mPPShared;
195
196 // and finally the pimpl itself
197 delete pimpl;
198}
199
200// ------------------------------------------------------------------------------------------------
201// Register a custom post-processing step

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected