February SDK: Where is my frame count? ;-)

I just installed the February DX SDK. Now I'm missing the fps display I used to have in the status display when I switched off vsync in the old sdk (August 05). With the new sdk it just says "vsync off". How can I diplay the fps with the new sdk

Nico



Answer this question

February SDK: Where is my frame count? ;-)

  • bluffmastor

    more specific: The DXUTGetFrameStats() function doesn't return the fps anymore.
  • barf

    Am I the only one who doesn't receive fps info with the DXUTGetFrameStats() function anymore I can't believe that. ;-)
  • Wimmo

    Hi NicoRi. It's very simple, the only thing you need to get the FPS info is to pass TRUE as parameter for DXUTGetFrameStats (wich is FALSE by default). Also, you can use DXUTGetFPS, that returns the FPS as a float value.


  • quadratron

    I think you're right, because the samples all stopped showing FPS, too, and it makes sense they forgot to update them. (We all want the samples to show FPS, don't we )

  • Zarryn

    Thanks! This is funny, because it is not documented... Maybe they added that parameter and forgot updating the manual ;-)
  • February SDK: Where is my frame count? ;-)