render thread question

Started by MichaelJPCT, March 15, 2020, 09:50:38 AM

Previous topic - Next topic

MichaelJPCT

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?

EgonOlsen

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.