Package com.jme3.app
Class ResetStatsState
java.lang.Object
com.jme3.app.state.AbstractAppState
com.jme3.app.ResetStatsState
- All Implemented Interfaces:
AppState
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 Application-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
-
Method Summary
Methods inherited from class com.jme3.app.state.AbstractAppState
cleanup, getId, initialize, isEnabled, isInitialized, postRender, setEnabled, setId, stateAttached, stateDetached, update
-
Constructor Details
-
ResetStatsState
public ResetStatsState()
-
-
Method Details
-
render
Description copied from interface:AppState
Render the state. This method will be called every render pass if theAppState
is both attached and enabled.- Specified by:
render
in interfaceAppState
- Overrides:
render
in classAbstractAppState
- Parameters:
rm
- RenderManager
-