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

Method setOutputFilesForWriter

Engine/EffectInstance.cpp:3196–3214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3194}
3195
3196void
3197EffectInstance::setOutputFilesForWriter(const std::string & pattern)
3198{
3199 if ( !isWriter() ) {
3200 return;
3201 }
3202
3203 const KnobsVec & knobs = getKnobs();
3204 for (U32 i = 0; i < knobs.size(); ++i) {
3205 if ( knobs[i]->typeName() == KnobOutputFile::typeNameStatic() ) {
3206 KnobOutputFilePtr fk = std::dynamic_pointer_cast<KnobOutputFile>(knobs[i]);
3207 assert(fk);
3208 if ( fk->isOutputImageFile() ) {
3209 fk->setValue(pattern);
3210 break;
3211 }
3212 }
3213 }
3214}
3215
3216PluginMemoryPtr
3217EffectInstance::newMemoryInstance(size_t nBytes)

Callers 2

TEST_FFunction · 0.80
Node.cppFile · 0.80

Calls 3

isOutputImageFileMethod · 0.80
sizeMethod · 0.45
setValueMethod · 0.45

Tested by 1

TEST_FFunction · 0.64