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

Method setContext

valdi/src/valdi/runtime/Resources/AssetConsumer.cpp:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void AssetConsumer::setContext(const Ref<Context>& context) {
65 _context = context;
66}
67
68void AssetConsumer::setLoadedAsset(const Result<Ref<LoadedAsset>>& loadedAsset) {
69 auto previousLoadedAsset = std::move(_loadedAsset);

Callers 5

TESTFunction · 0.45
destroyYogaNodeFunction · 0.45
addAssetLoadObserverMethod · 0.45
attachViewNodeMethod · 0.45
detachViewNodeMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36