|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.app.state.AbstractAppState
com.jme3.app.ResetStatsState
public class ResetStatsState
Resets (clearFrame()) the render's stats object every frame during AppState.render(). This state is registered once with Application to ensure that the stats are cleared once a frame. Using this makes sure that any Appliction based application that properly runs its state manager will have stats reset no matter how many views it has or if it even has views.
Field Summary |
---|
Fields inherited from class com.jme3.app.state.AbstractAppState |
---|
initialized |
Constructor Summary | |
---|---|
ResetStatsState()
|
Method Summary | |
---|---|
void |
render(RenderManager rm)
Render the state. |
Methods inherited from class com.jme3.app.state.AbstractAppState |
---|
cleanup, initialize, isEnabled, isInitialized, postRender, setEnabled, stateAttached, stateDetached, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResetStatsState()
Method Detail |
---|
public void render(RenderManager rm)
AppState
render
in interface AppState
render
in class AbstractAppState
rm
- RenderManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |