101102103104105106107108109110111
final PassNode pNode = new PassNode(); pNode.addPass(pass1); pNode.addPass(pass2); // Attach the box to the pass node. pNode.attachChild(box); // Attach the pass node to the scenegraph root. _root.attachChild(pNode); } }