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

Method image

source/base/StarAssets.cpp:511–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

readAssetMethod · 0.45
PlantMethod · 0.45
WorldStructureMethod · 0.45
imageSpacesMethod · 0.45
nonEmptyRegionMethod · 0.45
calculateImageSizeMethod · 0.45
assetImageMethod · 0.45
renderMethod · 0.45
scanMaterialsFunction · 0.45
drawNodesFunction · 0.45
defineObjectOrientationFunction · 0.45

Calls

no outgoing calls

Tested by 1

validateWorldFunction · 0.36