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(IGLApi glApi)
Destroy this
GLTimer |
void |
end(IGL gl)
End point
|
int |
getDuration() |
boolean |
init(IGLApi glApi)
Initialize this
GLTimer |
void |
start(IGLApi glApi)
Start point
|
public int queryDuration
public int queryNumAccum
public long queryAccum
public final boolean init(IGLApi glApi)
GLTimerglApi - OpenGL contextpublic void start(IGLApi glApi)
glApi - OpenGL contextpublic void end(IGL gl)
gl - OpenGL contextpublic final void destroy(IGLApi glApi)
GLTimerdestroy in interface IDestroyableglApi - OpenGL contextpublic final int getDuration()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com