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

Method validate

source/MaterialXCore/Definition.cpp:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134bool NodeDef::validate(string* message) const
135{
136 bool res = true;
137 validateRequire(!hasType(), res, message, "Nodedef should not have a type but an explicit output");
138 return InterfaceElement::validate(message) && res;
139}
140
141bool NodeDef::isVersionCompatible(const string& version) const
142{

Callers

nothing calls this directly

Calls 2

hasTypeFunction · 0.85
hasVersionStringFunction · 0.85

Tested by

no test coverage detected