MCPcopy Create free account
hub / github.com/defold/defold / PreloaderTreeInsert

Function PreloaderTreeInsert

engine/resource/src/resource_preloader.cpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 }
305
306 static void PreloaderTreeInsert(ResourcePreloader* preloader, TRequestIndex index, TRequestIndex parent)
307 {
308 PreloadRequest* reqs = &preloader->m_Request[0];
309 reqs[index].m_NextSibling = reqs[parent].m_FirstChild;
310 reqs[index].m_Parent = parent;
311 reqs[parent].m_FirstChild = index;
312 reqs[parent].m_PendingChildCount += 1;
313 }
314
315 static void RemoveFromParentPendingCount(ResourcePreloader* preloader, PreloadRequest* req)
316 {

Callers 1

PreloadPathDescriptorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected