MCPcopy Create free account
hub / github.com/Snapchat/Valdi / canBeMeasured

Method canBeMeasured

valdi/src/valdi/runtime/Resources/ObservableAsset.cpp:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78bool ObservableAsset::canBeMeasured() const {
79 return _expectedWidth > 0 && _expectedHeight > 0;
80}
81
82std::optional<AssetLocation> ObservableAsset::getResolvedLocation() const {
83 auto assetsManager = getAssetsManager();

Callers 1

TEST_PMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PMethod · 0.36