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

Function isGenericKnob

Engine/WriteNode.cpp:149–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 {0, false}
148};
149static bool
150isGenericKnob(const std::string& knobName,
151 bool *mustSerialize)
152{
153 int i = 0;
154
155 while (genericWriterKnobNames[i].scriptName) {
156 if (genericWriterKnobNames[i].scriptName == knobName) {
157 *mustSerialize = genericWriterKnobNames[i].mustKeepValue;
158
159 return true;
160 }
161 ++i;
162 }
163
164 return false;
165}
166
167bool
168WriteNode::isBundledWriter(const std::string& pluginID,

Callers 1

destroyWriteNodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected