- All Implemented Interfaces:
public class ResetStatsState extends AbstractAppState
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.
renderpublic void render
(RenderManager rm)Description copied from interface:
AppStateRender the state. This method will be called every render pass if the
AppStateis both attached and enabled.