| 460 | } |
| 461 | |
| 462 | std::shared_ptr<SpriteSheet> SpriteFrameCache::getSpriteSheet(std::string_view filePath) |
| 463 | { |
| 464 | auto it = _spriteSheets.find(computeHash(filePath)); |
| 465 | if (it != _spriteSheets.end()) |
| 466 | return it->second; |
| 467 | |
| 468 | return nullptr; |
| 469 | } |
| 470 | |
| 471 | } // namespace ax |
no test coverage detected