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

Method onLoaded_MainThread

Source/Engine/Content/Asset.cpp:682–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680}
681
682void Asset::onLoaded_MainThread()
683{
684 ASSERT(IsInMainThread());
685
686 // Send event
687 ScopeLock lock(_referencesLocker);
688 for (const auto& e : _references)
689 e.Item->OnAssetLoaded(this, this);
690 OnLoaded(this);
691}
692
693void Asset::onUnload_MainThread()
694{

Callers 2

UpdateMethod · 0.45
tryCallOnLoadedMethod · 0.45

Calls 2

IsInMainThreadFunction · 0.85
OnAssetLoadedMethod · 0.45

Tested by

no test coverage detected