public class GLTimer extends java.lang.Object implements IDestroyable
| Modifier and Type | Field and Description |
|---|---|
long |
queryAccum |
int |
queryDuration |
int |
queryNumAccum |
| Constructor and Description |
|---|
GLTimer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(IGL gl)
Destroy this
GLTimer |
void |
end(IGL gl)
End point
|
int |
getDuration() |
boolean |
init(IGL gl)
Initialize this
GLTimer |
void |
start(IGL gl)
Start point
|
public int queryDuration
public int queryNumAccum
public long queryAccum
public final boolean init(IGL gl)
GLTimergl - OpenGL contextpublic void start(IGL gl)
gl - OpenGL contextpublic void end(IGL gl)
gl - OpenGL contextpublic final void destroy(IGL gl)
GLTimerdestroy in interface IDestroyablegl - OpenGL contextpublic final int getDuration()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com