Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/tgfx
/ hasUniqueResource
Method
hasUniqueResource
src/gpu/ResourceCache.cpp:180–182 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
178
}
179
180
bool ResourceCache::hasUniqueResource(const UniqueKey& uniqueKey) {
181
return getUniqueResource(uniqueKey) != nullptr;
182
}
183
184
Resource* ResourceCache::getUniqueResource(const UniqueKey& uniqueKey) {
185
if (uniqueKey.empty()) {
Callers
1
onMakeDecoded
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected