com.badlogic.gdx.graphics
Class FPSLogger

java.lang.Object
  extended by com.badlogic.gdx.graphics.FPSLogger

public class FPSLogger
extends Object

A simple helper class to log the frames per seconds achieved. Just invoke the log() method in your rendering method. The output will be logged once per second.

Author:
mzechner

Constructor Summary
FPSLogger()
           
 
Method Summary
 void log()
          Logs the current frames per second to the console.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FPSLogger

public FPSLogger()
Method Detail

log

public void log()
Logs the current frames per second to the console.



Copyright © 2013. All Rights Reserved.