Add reset method to PerfCounter class

Hi,
it would be nice to have a reset method in the PerfCounter class, so we can reset all values to 0.
If you have one of the counters active at start, for example to always show the frametime, the max values can be quite high due to loading assets etc, and not really reflect the real max values, so it would help to be able to reset them when loading is done.
Thanks.

2 Likes

It is a good idea…Wanna do a PR?

Yeah, I can do that, probably some time next week.

2 Likes