MCPcopy 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
180bool ResourceCache::hasUniqueResource(const UniqueKey& uniqueKey) {
181 return getUniqueResource(uniqueKey) != nullptr;
182}
183
184Resource* ResourceCache::getUniqueResource(const UniqueKey& uniqueKey) {
185 if (uniqueKey.empty()) {

Callers 1

onMakeDecodedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected