Login  Register

Re: Render GLCanvas with PGraphics

Posted by SwitchOn on Mar 23, 2012; 1:58pm
URL: https://forum.jogamp.org/Render-GLCanvas-with-PGraphics-tp3851028p3851620.html

Hi,

and is there a way to render the custom GLCanvas with the given PGraphics object of the PApplet? I can't add the custom GLCanvas with the "add(comp)" method, because I want to be able to lay other ui components over this new custom GLCanvas. The framework that I am already using for my application is build with processing and it draws all ui elements with this PGraphics object. The problem is, that these ui elements are behind the custom GLCanvas, when I am adding this with "add(canvas)".