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

Function ResourceTypeContextGetContextByHash

engine/resource/src/resource_type.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27};
28
29void* ResourceTypeContextGetContextByHash(HResourceTypeContext ctx, dmhash_t name)
30{
31 void** out = ctx->m_Contexts->Get(name);
32 if (out)
33 return *out;
34 return 0;
35}
36
37/////////////////////////////////////////////////////////////////////
38void ResourceTypeReset(HResourceType type)

Calls 1

GetMethod · 0.45

Tested by 2