6#ifndef MATERIALX_MATERIAL_H
7#define MATERIALX_MATERIAL_H
16MATERIALX_NAMESPACE_BEGIN
25 const string& nodeType = SURFACE_SHADER_TYPE_STRING,
26 const string& target = EMPTY_STRING);
31MATERIALX_NAMESPACE_END
MATERIALX_NAMESPACE_BEGIN MX_CORE_API vector< NodePtr > getShaderNodes(NodePtr materialNode, const string &nodeType=SURFACE_SHADER_TYPE_STRING, const string &target=EMPTY_STRING)
Return a vector of all shader nodes connected to the given material node's inputs,...
MX_CORE_API vector< OutputPtr > getConnectedOutputs(NodePtr node)
Return a vector of all outputs connected to the given node's inputs.
Import and export declarations for the Core library.
shared_ptr< Node > NodePtr
A shared pointer to a Node.
Definition: Node.h:24