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

Method unbindImageAsync

core/renderer/TextureCache.cpp:227–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void TextureCache::unbindImageAsync(std::string_view callbackKey)
228{
229 if (_asyncStructQueue.empty())
230 {
231 return;
232 }
233
234 for (auto&& asyncStruct : _asyncStructQueue)
235 {
236 if (asyncStruct->callbackKey == callbackKey)
237 {
238 asyncStruct->callback = nullptr;
239 }
240 }
241}
242
243void TextureCache::unbindAllImageAsync()
244{

Callers 1

onEnterMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by 1

onEnterMethod · 0.64