- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
538 B
538 B
ResourceCache::GetLRUList
Containers::Array<ResourceGUID> GetLRUList(size_t count) const
获取最近最少使用的 GUID 列表。按 LRU 顺序返回前 count 个资源 GUID。
参数:
count- 要获取的 GUID 数量
返回: 最近最少使用的 GUID 数组
复杂度: O(n)
示例:
auto lruList = cache.GetLRUList(10);
for (const auto& guid : lruList) {
// 标记或处理这些资源...
}
相关文档
- ResourceCache 总览 - 返回类总览