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

Method commandTextures

core/base/Console.cpp:1147–1155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145}
1146
1147void Console::commandTextures(socket_native_type fd, std::string_view /*args*/)
1148{
1149 Scheduler* sched = Director::getInstance()->getScheduler();
1150 sched->runOnAxmolThread([=]() {
1151 Console::Utility::mydprintf(fd, "%s",
1152 Director::getInstance()->getTextureCache()->getCachedTextureInfo().c_str());
1153 Console::Utility::sendPrompt(fd);
1154 });
1155}
1156
1157void Console::commandTexturesSubCommandFlush(socket_native_type /*fd*/, std::string_view /*args*/)
1158{

Callers

nothing calls this directly

Calls 5

getInstanceFunction · 0.85
runOnAxmolThreadMethod · 0.80
getCachedTextureInfoMethod · 0.80
getTextureCacheMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected