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

Method can_get

src/resource/resource_manager.cpp:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202bool ResourceManager::can_get(StringId64 type, StringId64 name)
203{
204 const ResourcePair id = { type, name };
205 return _autoload ? true : hash_map::has(_resources, id);
206}
207
208const void *ResourceManager::get(StringId64 type, StringId64 name)
209{

Callers 5

loadMethod · 0.80
has_loadedMethod · 0.80
main_loopMethod · 0.80
refreshMethod · 0.80
load_apiFunction · 0.80

Calls 1

hasFunction · 0.50

Tested by

no test coverage detected