MCPcopy Create free account
hub / github.com/axmolengine/axmol / commandTexturesSubCommandFlush

Method commandTexturesSubCommandFlush

core/base/Console.cpp:1157–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155}
1156
1157void Console::commandTexturesSubCommandFlush(socket_native_type /*fd*/, std::string_view /*args*/)
1158{
1159 Scheduler* sched = Director::getInstance()->getScheduler();
1160 sched->runOnAxmolThread([]() { Director::getInstance()->getTextureCache()->removeAllTextures(); });
1161}
1162
1163void Console::commandTouchSubCommandTap(socket_native_type fd, std::string_view args)
1164{

Callers

nothing calls this directly

Calls 4

getInstanceFunction · 0.85
runOnAxmolThreadMethod · 0.80
removeAllTexturesMethod · 0.80
getTextureCacheMethod · 0.80

Tested by

no test coverage detected