MCPcopy Create free account
hub / github.com/Tencent/tgfx / empty

Method empty

src/gpu/ResourceCache.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31bool ResourceCache::empty() const {
32 return nonpurgeableResources.empty() && purgeableResources.empty();
33}
34
35void ResourceCache::setCacheLimit(size_t bytesLimit) {
36 if (maxBytes == bytesLimit) {

Callers 5

getUniqueResourceMethod · 0.45
changeUniqueKeyMethod · 0.45
addResourceMethod · 0.45
removeResourceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected