|
HDK
|
Include dependency graph for Material.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| MATERIALX_NAMESPACE_BEGIN MX_CORE_API vector< NodePtr > | getShaderNodes (NodePtr materialNode, const string &nodeType=SURFACE_SHADER_TYPE_STRING, const string &target=EMPTY_STRING) |
| MX_CORE_API vector< OutputPtr > | getConnectedOutputs (NodePtr node) |
| Return a vector of all outputs connected to the given node's inputs. More... | |
Material node helper functions
Definition in file Material.h.
| MX_CORE_API vector<OutputPtr> getConnectedOutputs | ( | NodePtr | node | ) |
Return a vector of all outputs connected to the given node's inputs.
| 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, filtered by the given shader type and target. By default, all surface shader nodes are returned.
| materialNode | The node to examine. |
| nodeType | THe shader node type to return. Defaults to the surface shader type. |
| target | An optional target name, which will be used to filter the returned nodes. |