Page 1 of 1

Question on PDKs RenderingPlugin

Posted: Mon Sep 02, 2019 8:33 pm
by BenBaron
Hi guys,

just for clarification: is it safe (like e.g. thread-safe) to perform tasks unrelated to the actual rendering in the Render or PreRender methods? Which are thus called at the pace of the framerate? Like an IBaseObject's GetPosition() or GetProperty() methods?

Maybe this might put a strain on the sim performance-wise, if done heavily, but I am more concerned about safety, right now. It seems to work flawlessy, but maybe there is a catch somewhere?

Thanks in advance.

Greets, Benny

Re: Question on PDKs RenderingPlugin

Posted: Sat Sep 21, 2019 2:47 pm
by BenBaron
Hi guys,

can be disregarded. In the meantime I've found out that the renderer is also running on the main thread. So no problem.

All the best, Benny