MCPcopy Create free account
hub / github.com/crownengine/crown / ResourceLoader

Method ResourceLoader

src/resource/resource_loader.cpp:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace crown
28{
29ResourceLoader::ResourceLoader(Filesystem &data_filesystem, bool is_bundle)
30 : _data_filesystem(data_filesystem)
31 , _is_bundle(is_bundle)
32 , _requests(default_allocator())
33 , _loaded(default_allocator())
34 , _fallback(default_allocator())
35 , _exit(false)
36{
37 _thread.start([](void *thiz) { return ((ResourceLoader *)thiz)->run(); }, this);
38}
39
40ResourceLoader::~ResourceLoader()
41{

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected