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

Function addNodeGraph

source/MaterialXCore/Document.h:96–99  ·  view source on GitHub ↗

Add a NodeGraph to the document. @param name The name of the new NodeGraph. If no name is specified, then a unique name will automatically be generated. @return A shared pointer to the new NodeGraph.

Source from the content-addressed store, hash-verified

94 /// generated.
95 /// @return A shared pointer to the new NodeGraph.
96 NodeGraphPtr addNodeGraph(const string& name = EMPTY_STRING)
97 {
98 return addChild<NodeGraph>(name);
99 }
100
101 /// Return the NodeGraph, if any, with the given name.
102 NodeGraphPtr getNodeGraph(const string& name) const

Callers 1

addNodeDefFromGraphMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected