How can I take "FPS" from the Core.cpp line here:
And make it readable by Render.cpp?
What I'm trying to do is add Overlay Core FPS to the video plugin, because it differs from the Overlay FPS that it is currently in place... but this is what I'm stuck on, I got the option for it and everything else set up, but copying the actual count from Core to Render is a bit beyond me... I don't know all the namespaces and classes available to both...
Any help? Thanks.
Code:
float FPS = (float)frames / t;
And make it readable by Render.cpp?
What I'm trying to do is add Overlay Core FPS to the video plugin, because it differs from the Overlay FPS that it is currently in place... but this is what I'm stuck on, I got the option for it and everything else set up, but copying the actual count from Core to Render is a bit beyond me... I don't know all the namespaces and classes available to both...
Any help? Thanks.