MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getModuleFromPath

Method getModuleFromPath

Engine/source/T3D/assets/assetImporter.cpp:734–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734ModuleDefinition* AssetImporter::getModuleFromPath(Torque::Path filePath)
735{
736 // Use a relative path so modules on mounted file systems will be found.
737 ModuleDefinition* moduleDef = ModuleDatabase.findModuleByFilePath(Platform::makeRelativePathName(filePath.getFullPath().c_str(), NULL));
738
739 return moduleDef;
740}
741
742String AssetImporter::parseImageSuffixes(String assetName, String* suffixType)
743{

Callers

nothing calls this directly

Calls 2

findModuleByFilePathMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected