MCPcopy Create free account
hub / github.com/assimp/assimp / SetupProperties

Method SetupProperties

code/PostProcessing/EmbedTexturesProcess.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void EmbedTexturesProcess::SetupProperties(const Importer* pImp) {
58 mRootPath = pImp->GetPropertyString("sourceFilePath");
59 mRootPath = mRootPath.substr(0, mRootPath.find_last_of("\\/") + 1u);
60 mIOHandler = pImp->GetIOHandler();
61}
62
63void EmbedTexturesProcess::Execute(aiScene* pScene) {
64 if (pScene == nullptr || pScene->mRootNode == nullptr || mIOHandler == nullptr){

Callers

nothing calls this directly

Calls 2

GetPropertyStringMethod · 0.45
GetIOHandlerMethod · 0.45

Tested by

no test coverage detected