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

Method isSpriteFramesWithFileLoaded

core/2d/SpriteFrameCache.cpp:128–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128bool SpriteFrameCache::isSpriteFramesWithFileLoaded(std::string_view plist) const
129{
130 auto sheetId = computeHash(plist);
131 return isSpriteSheetInUse(sheetId) && isPlistFull(sheetId);
132}
133
134void SpriteFrameCache::addSpriteFrame(SpriteFrame* frame, std::string_view frameName)
135{

Callers 5

loadSpriteFramesMethod · 0.80
loadNodeWithContentMethod · 0.80
createNodeMethod · 0.80

Calls 2

computeHashFunction · 0.85
isPlistFullFunction · 0.85

Tested by 1

loadSpriteFramesMethod · 0.64