13 nlohmann::json& destination ) {
14 auto resourcesRootDir { RadiumEngine::getInstance()->getResourcesDir() };
15 std::string metadataFileName =
"Metadata/" + basename +
".json";
16 std::ifstream metadata( resourcesRootDir + metadataFileName );
17 if ( metadata ) { metadata >> destination; }
19 LOG( Core::Utils::logERROR )
20 <<
"RenderParameters : failed to load metadata file " << metadataFileName;