MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / getActiveInput

Method getActiveInput

source/MaterialXCore/Interface.cpp:364–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362//
363
364InputPtr InterfaceElement::getActiveInput(const string& name) const
365{
366 for (ConstElementPtr elem : traverseInheritance())
367 {
368 InputPtr input = elem->asA<InterfaceElement>()->getInput(name);
369 if (input)
370 {
371 return input;
372 }
373 }
374 return nullptr;
375}
376
377vector<InputPtr> InterfaceElement::getActiveInputs() const
378{

Callers 12

deleteLinkInfoMethod · 0.80
deleteNodeMethod · 0.80
propertyEditorMethod · 0.80
GenOsl.cppFile · 0.80
Node.cppFile · 0.80
hasExactInputMatchMethod · 0.80
flattenSubgraphsMethod · 0.80
addInputFromNodeDefMethod · 0.80
isTransparentShaderNodeFunction · 0.80
getNodeDefInputFunction · 0.80
updateEditorMethod · 0.80

Calls 1

getInputMethod · 0.45

Tested by

no test coverage detected