MCPcopy Create free account
hub / github.com/axmolengine/axmol / ~TextureDemo

Method ~TextureDemo

tests/cpp-tests/Source/Texture2dTest/Texture2dTest.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135TextureDemo::~TextureDemo()
136{
137 auto textureCache = Director::getInstance()->getTextureCache();
138 textureCache->removeUnusedTextures();
139 AXLOGD("{}\n", textureCache->getCachedTextureInfo());
140}
141
142//------------------------------------------------------------------
143//

Callers

nothing calls this directly

Calls 4

getInstanceFunction · 0.85
getTextureCacheMethod · 0.80
removeUnusedTexturesMethod · 0.80
getCachedTextureInfoMethod · 0.80

Tested by

no test coverage detected