I have several questions about the PGraphics
- If I use several (more than two) PGraphics would it make slow my program ?
- If I call a PGraphics over an another PGraphics would it also make my program slow ? example TestLayer.image(MainLayer,0,0,width,height); where TestLayer and MainLayer both are PGraphics
- When I use multiple PGraphics it makes the program slow so I had thought of using P3D render while creating & initializing PGraphics object in setup() but when I put P3D render nothing shows up other than white blank screen. (in case of Layered GUI)
Answers
General answer:
Thanks GoToLoop
And Sorry about the second question. Actually I was asking if I make nested PGraphics would it make my program slow.
Nested PGraphics: TestLayer.image(MainLayer,0,0,width,height); where TestLayer and MainLayer both are PGraphics
Here why I was asking the performance because frameRate dropped significantly to 70-80% when I use more than two nested PGraphics. I am afraid if I can overcome this problem.
Just got some useless lousy tips: ~:>
thanks GoToLoop :)