Original Post
🔒 Locked
counter timing
Advertisement
Any particular language? In C++, you can create a static high-precision (float, double) variable and increment it in your rendering function if you want to count frames (rendering function is called every frame).
If you otherwise just want a performance timer and a way to output it...the timer is provided by your windowing API (or, if you're using something portable, by your wrapper), and there are many ways to get text onto the screen. Look into freetype, bitmap fonts, texture mapped fonts...there are a lot of ways to do it.
If you otherwise just want a performance timer and a way to output it...the timer is provided by your windowing API (or, if you're using something portable, by your wrapper), and there are many ways to get text onto the screen. Look into freetype, bitmap fonts, texture mapped fonts...there are a lot of ways to do it.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement