www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: MichaelJPCT on March 15, 2020, 09:50:38 am

Title: render thread question
Post by: MichaelJPCT on March 15, 2020, 09:50:38 am
hi Egon,
when World.draw() returns, has GL finished drawing? or is it still working when my program does other work?
does framebuffer.display() finish all render work before return?
Title: Re: render thread question
Post by: EgonOlsen on March 16, 2020, 08:05:40 am
Depends on which renderer you are using. For the normal GL renderer, the work is done after World.draw(); The AWTGLRenderer renders in another thread, you can detect if it's done or not by using the IRenderHook.