MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / setIdentityResult

Method setIdentityResult

Engine/EffectInstancePrivate.cpp:137–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void
138ActionsCache::setIdentityResult(U64 hash,
139 double time,
140 ViewIdx view,
141 int inputNbIdentity,
142 ViewIdx inputView,
143 double identityTime)
144{
145 QMutexLocker l(&_cacheMutex);
146 ActionsCacheInstance & cache = getOrCreateActionCache(hash);
147 ActionKey key;
148
149 key.time = time;
150 key.view = view;
151 key.mipMapLevel = 0;
152
153 IdentityResults & v = cache._identityCache[key];
154 v.inputIdentityNb = inputNbIdentity;
155 v.inputIdentityTime = identityTime;
156 v.inputView = inputView;
157}
158
159bool
160ActionsCache::getComponentsNeededResults(U64 hash, double time, ViewIdx view, EffectInstance::ComponentsNeededMap* neededComps, std::bitset<4> *processChannels, bool *processAll,

Callers 1

isIdentity_publicMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected