Revision 40f0cea6
Added by Leszek Koltunski almost 3 years ago
| src/main/java/org/distorted/library/main/InternalOutputSurface.java | ||
|---|---|---|
| 616 | 616 | 
    return numRenders;  | 
| 617 | 617 | 
    }  | 
| 618 | 618 | 
     | 
| 619 | 
    ///////////////////////////////////////////////////////////////////////////////////////////////////  | 
|
| 620 | 
    /**  | 
|
| 621 | 
    * Recursively print all the effect queues attached to the children Nodes and to this Node.  | 
|
| 622 | 
    */  | 
|
| 623 | 
    public void debug()  | 
|
| 624 | 
        {
   | 
|
| 625 | 
    int numChildren = mChildren.getNumChildren();  | 
|
| 626 | 
     | 
|
| 627 | 
    for(int i=0; i<numChildren; i++)  | 
|
| 628 | 
          {
   | 
|
| 629 | 
    DistortedNode node = mChildren.getChild(i);  | 
|
| 630 | 
    node.debug(0);  | 
|
| 631 | 
    }  | 
|
| 632 | 
    }  | 
|
| 633 | 
     | 
|
| 619 | 634 | 
    ///////////////////////////////////////////////////////////////////////////////////////////////////  | 
| 620 | 635 | 
    /**  | 
| 621 | 636 | 
    * Bind this Surface as a Framebuffer we can render to.  | 
Also available in: Unified diff
Debugging the Node piraminds - print the whole piramind along with all the Effects attached to each Node.