Home
last modified time | relevance | path

Searched refs:cacheCollections_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_manager.cpp126 auto it = cacheCollections_.find(cacheId); in LoadAssetToCache()
127 if (it != cacheCollections_.cend()) { in LoadAssetToCache()
134 cacheCollections_.erase(cacheId); in LoadAssetToCache()
145 return (cacheCollections_[cacheId] = move(ec)).get(); in LoadAssetToCache()
156 return cacheCollections_.find(cacheId) != cacheCollections_.cend(); in IsCachedCollection()
169 return (cacheCollections_[cacheId] = move(ec)).get(); in CreateCachedCollection()
177 auto collection = cacheCollections_.find(cacheId); in GetCachedCollection()
178 return collection != cacheCollections_.cend() ? collection->second.get() : nullptr; in GetCachedCollection()
186 cacheCollections_.erase(cacheId); in RemoveFromCache()
192 for (auto it = cacheCollections_.begin(); it != cacheCollections_.end();) { in ClearCache()
[all …]
H A Dasset_manager.h78 BASE_NS::unordered_map<BASE_NS::string, IEntityCollection::Ptr> cacheCollections_; in SCENE_BEGIN_NAMESPACE() local