MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / imageFrames

Method imageFrames

source/base/StarAssets.cpp:543–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543FramesSpecificationConstPtr Assets::imageFrames(String const& path) const {
544 auto components = AssetPath::split(path);
545 validatePath(components, false, false);
546
547 MutexLocker assetsLocker(m_assetsMutex);
548 return bestFramesSpecification(path);
549}
550
551AudioConstPtr Assets::audio(String const& path) const {
552 auto components = AssetPath::split(path);

Callers 3

calculateImageSizeMethod · 0.80
assetFramesMethod · 0.80
renderMethod · 0.80

Calls 1

validatePathFunction · 0.85

Tested by

no test coverage detected