log() method in your rendering method.
The output will be logged once per second.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| bound | back to summary |
|---|---|
| pack-priv int bound | |
| startTime | back to summary |
|---|---|
| pack-priv long startTime | |
| FPSLogger | back to summary |
|---|---|
| public FPSLogger() | |
| FPSLogger | back to summary |
|---|---|
public FPSLogger(int bound)
| |
| log | back to summary |
|---|---|
| public void log() Logs the current frames per second to the console. | |
| setBound | back to summary |
|---|---|
| public void setBound(int bound) | |