MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / isLoaded

Method isLoaded

engine/Poseidon/World/Model/ModelCache.cpp:148–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148bool ModelCache::isLoaded(const std::string& filePath) const
149{
150 std::string key = normalizePath(filePath);
151 return _cache.find(key) != _cache.end();
152}
153
154std::shared_ptr<Poseidon::Model::Model> ModelCache::get(const std::string& filePath) const
155{

Callers 1

Calls 1

normalizePathFunction · 0.85

Tested by

no test coverage detected