MaterialX 1.39.1
Loading...
Searching...
No Matches
ShaderGraphEdgeIterator Class Reference

Iterator class for traversing edges between nodes in a shader graph. More...

#include <ShaderGraph.h>

Public Member Functions

 ShaderGraphEdgeIterator (ShaderOutput *output)
 
bool operator== (const ShaderGraphEdgeIterator &rhs) const
 
bool operator!= (const ShaderGraphEdgeIterator &rhs) const
 
ShaderGraphEdge operator* () const
 Dereference this iterator, returning the current output in the traversal.
 
ShaderGraphEdgeIteratoroperator++ ()
 Iterate to the next edge in the traversal. More...
 
ShaderGraphEdgeIteratorbegin ()
 Return a reference to this iterator to begin traversal.
 

Static Public Member Functions

static const ShaderGraphEdgeIteratorend ()
 Return the end iterator.
 

Detailed Description

Iterator class for traversing edges between nodes in a shader graph.

Member Function Documentation

◆ operator++()

ShaderGraphEdgeIterator & operator++ ( )

Iterate to the next edge in the traversal.

Exceptions
ExceptionFoundCycleif a cycle is encountered.

The documentation for this class was generated from the following file: