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

Method getThreadLocalNeededComponents

Engine/EffectInstance.cpp:4619–4632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4617}
4618
4619bool
4620EffectInstance::getThreadLocalNeededComponents(ComponentsNeededMapPtr* neededComps) const
4621{
4622 EffectTLSDataPtr tls = _imp->tlsData->getTLSData();
4623
4624 if (tls && tls->currentRenderArgs.validArgs) {
4625 assert( !tls->currentRenderArgs.outputPlanes.empty() );
4626 *neededComps = tls->currentRenderArgs.compsNeeded;
4627
4628 return true;
4629 }
4630
4631 return false;
4632}
4633
4634void
4635EffectInstance::updateThreadLocalRenderTime(double time)

Callers 1

getInputImageInternalMethod · 0.80

Calls 2

emptyMethod · 0.80
getTLSDataMethod · 0.45

Tested by

no test coverage detected