MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / LoadAsyncInternal

Method LoadAsyncInternal

Source/Engine/Content/Content.cpp:648–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648Asset* Content::LoadAsyncInternal(const StringView& internalPath, const MClass* type)
649{
650 CHECK_RETURN(type, nullptr);
651 const auto scriptingType = Scripting::FindScriptingType(type->GetFullName());
652 if (scriptingType)
653 return LoadAsyncInternal(internalPath, scriptingType);
654 LOG(Error, "Failed to find asset type '{0}'.", String(type->GetFullName()));
655 return nullptr;
656}
657
658Asset* Content::LoadAsyncInternal(const StringView& internalPath, const ScriptingTypeHandle& type)
659{

Callers

nothing calls this directly

Calls 6

FindScriptingTypeFunction · 0.85
LoadAsyncInternalFunction · 0.85
LoadAsyncFunction · 0.85
StringClass · 0.50
StringViewClass · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected