| 509 | } |
| 510 | |
| 511 | ImageConstPtr Assets::image(AssetPath const& path) const { |
| 512 | return as<ImageData>(getAsset(AssetId{AssetType::Image, path}))->image; |
| 513 | } |
| 514 | |
| 515 | void Assets::queueImages(StringList const& paths) const { |
| 516 | queueAssets(paths.transformed([](String const& path) { |
no outgoing calls