MCPcopy Create free account
hub / github.com/Illation/ETEngine / SetInstance

Method SetInstance

Engine/source/EtCore/Content/ResourceManager.cpp:25–29  ·  view source on GitHub ↗

---------------------------------- ResourceManager::SetInstance Initializes the singleton with a derived implementation

Source from the content-addressed store, hash-verified

23// Initializes the singleton with a derived implementation
24//
25void ResourceManager::SetInstance(ResourceManager* const instance)
26{
27 s_Instance = instance;
28 s_Instance->Init();
29}
30
31//----------------------------------
32// ResourceManager::DestroyInstance

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected