Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
78
bool ObservableAsset::canBeMeasured() const {
79
return _expectedWidth > 0 && _expectedHeight > 0;
80
}
81
82
std::optional<AssetLocation> ObservableAsset::getResolvedLocation() const {
83
auto assetsManager = getAssetsManager();
Callers
1
TEST_P
Method · 0.45
Calls
no outgoing calls
Tested by
1
TEST_P
Method · 0.36