Traverse the graph and check if each node that has a material is that material owner.
The first node we find that is not consistent with respect to that, we stop traversing the graph.
#include
<class_scene_graph_utilities_1_1_____owner_verifier.h>
Public Member Functions |
|
__init__ () | |
applyNode () | |
Get the material and if the material already
exists in the map just remove the node from the set of the material
owners. |
|
areNodesConsistent () |
SceneGraphUtilities.__OwnerVerifier.__init__ | ( | ) |
Reimplemented from NodeVisitor.NodeVisitor.
SceneGraphUtilities.__OwnerVerifier.applyNode | ( | ) |
Get the material and if the material already exists in the map just remove the node from the set of the material owners.
If it does not then first add the material to the map.
Reimplemented from NodeVisitor.NodeVisitor.
SceneGraphUtilities.__OwnerVerifier.areNodesConsistent | ( | ) |