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

Method findFrame

core/2d/SpriteFrameCache.cpp:410–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410SpriteFrame* SpriteFrameCache::findFrame(std::string_view frame)
411{
412 return _spriteFrames.at(computeHash(frame));
413}
414
415SpriteFrame* SpriteFrameCache::findFrame(uint64_t frameId)
416{

Callers 15

retainSpriteFramesMethod · 0.80
loadSpriteMethod · 0.80
loadTextureFrameMethod · 0.80
onEnterMethod · 0.80

Calls 2

computeHashFunction · 0.85
atMethod · 0.45

Tested by 2