bloodypenguin / Skylines-ModTools

Mod debugging/ reverse engineering tool for Cities: Skylines
MIT License
21 stars 15 forks source link

Improve performance of the scene explorer #25

Open dymanoid opened 5 years ago

dymanoid commented 5 years ago

Currently, the scene explorer performs reflection each frame on-the-fly.

Since reflection is slow, it causes the overall performance of the game to drastically decrease when the scene explorer is visible. Furthermore, the scene explorer itself might become less responsible.

Instead of performing the reflection each frame anew, the state should be cached and only the values should be updated each frame.