Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getPreferredWidth
Method
getPreferredWidth
valdi/src/valdi/runtime/Resources/AssetConsumer.cpp:40–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
int32_t AssetConsumer::getPreferredWidth() const {
41
return _preferredWidth;
42
}
43
44
void AssetConsumer::setPreferredHeight(int32_t preferredHeight) {
45
_preferredHeight = preferredHeight;
Callers
1
loadAssetForConsumerAtResolvedLocation
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected