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
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.
The text was updated successfully, but these errors were encountered:
sp0lsh
changed the title
TimeSystem is not consts correct for RenderingDevice
Rendering: TimeSystem is not consts correct for RenderingDevice
Jun 30, 2018
This is our current
IRenderingDevice
interaface for engine. I we want to makeconst World* world
invirtual 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.
The text was updated successfully, but these errors were encountered: