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

Method getVersionIntegers

source/MaterialXCore/Document.cpp:323–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323std::pair<int, int> Document::getVersionIntegers() const
324{
325 if (!hasVersionString())
326 {
327 return { MATERIALX_MAJOR_VERSION, MATERIALX_MINOR_VERSION };
328 }
329 return InterfaceElement::getVersionIntegers();
330}
331
332vector<PortElementPtr> Document::getMatchingPorts(const string& nodeName) const
333{

Callers 4

mainFunction · 0.45
mainFunction · 0.45
Document.cppFile · 0.45

Calls 2

hasVersionStringFunction · 0.85
getVersionIntegersFunction · 0.85

Tested by

no test coverage detected