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

Function Create

engine/resource/src/resource_mounts.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66static dmResource::Result DestroyMounts(HContext ctx);
67
68HContext Create(dmResourceProvider::HArchive base_archive)
69{
70 ResourceMountsContext* ctx = new ResourceMountsContext;
71 ctx->m_Mounts.SetCapacity(2);
72 ctx->m_Mutex = dmMutex::New();
73 ctx->m_ResourceBaseArchive = base_archive;
74 return ctx;
75}
76
77void Destroy(HContext ctx)
78{

Callers 3

NewFactoryFunction · 0.70
NewPreloaderFunction · 0.70
SetUpMethod · 0.50

Calls 2

NewFunction · 0.50
SetCapacityMethod · 0.45

Tested by 1

SetUpMethod · 0.40