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

Function isGenericKnob

Engine/ReadNode.cpp:161–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 {0, false}
160};
161static bool
162isGenericKnob(const std::string& knobName,
163 bool *mustSerialize)
164{
165 int i = 0;
166
167 while (genericReaderKnobNames[i].scriptName) {
168 if (genericReaderKnobNames[i].scriptName == knobName) {
169 *mustSerialize = genericReaderKnobNames[i].mustKeepValue;
170
171 return true;
172 }
173 ++i;
174 }
175
176 return false;
177}
178
179bool
180ReadNode::isBundledReader(const std::string& pluginID,

Callers 1

destroyReadNodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected