jjdh.opengl.core.counter
Class FixedFrameCounter
java.lang.Object
jjdh.opengl.core.counter.AbstractFrameCounter
jjdh.opengl.core.counter.FixedFrameCounter
- All Implemented Interfaces:
- FrameCounter
public class FixedFrameCounter
- extends AbstractFrameCounter
resolution
protected int resolution
startTime
protected long startTime
FixedFrameCounter
public FixedFrameCounter()
FixedFrameCounter
public FixedFrameCounter(int resolution)
addOneFrame
public void addOneFrame()
- Description copied from interface:
FrameCounter
- Notifies this counter that another frame was drawn.
- Specified by:
addOneFrame
in interface FrameCounter
- Specified by:
addOneFrame
in class AbstractFrameCounter
detailedToString
public String detailedToString()
- Specified by:
detailedToString
in interface FrameCounter
- Overrides:
detailedToString
in class AbstractFrameCounter
- Returns:
- a detailed textual description of the current frame rate
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.