Exemple #1
0
 /// <summary>
 /// Updates the debug overlay with the current frame rate statistics and triangle count.
 /// </summary>
 protected void UpdateDebugOverlay()
 {
     mCurrentFPS.setCaption("Current FPS: " + mRenderWindow.LastFPS);
     mAverageFPS.setCaption("Average FPS: " + mRenderWindow.AverageFPS);
     mBestFPS.setCaption("Best FPS: " + mRenderWindow.BestFPS);
     mWorstFPS.setCaption("Worst FPS: " + mRenderWindow.WorstFPS);
     mTriangleCount.setCaption("Triangle Count: " + mRenderWindow.TriangleCount);
 }