You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rendering: TimeSystem is not consts correct for RenderingDevice #139
class ENGINE_DLLEXPORT IRenderingDevice : public BaseObject<>
{
public:
...
virtual void RenderWorld(World* world) = 0;
};
This is our current IRenderingDevice interaface for engine. I we want to make const World* world in virtual void RenderWorld(World* world) = 0; it requiere us to make const correct time retrieval from TimeSystem.
Now when we add cost to world the refactoring changes have dependencies in TimeSystem that influence UpdatePhase.
Anyways there should be also SystemTime in ex. nanosecond that is flowing, available during rendering. It would allow for simplest profiling.
changed the title [-]TimeSystem is not consts correct for RenderingDevice[/-][+]Rendering: TimeSystem is not consts correct for RenderingDevice[/+]on Jun 30, 2018
Activity
[-]TimeSystem is not consts correct for RenderingDevice[/-][+]Rendering: TimeSystem is not consts correct for RenderingDevice[/+]