GL20Interceptor, GL30Interceptor
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private GLInterceptor | |
| private Graphics | |
| private GLErrorListener |
| Access | Constructor and Description |
|---|---|
| public | GLProfiler(Graphics
instance to monitor with this instance, With Lwjgl 2.x you can pass in Gdx.graphics, with Lwjgl3 use
Lwjgl3Window.getGraphics() graphics)Create a new instance of GLProfiler to monitor a |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public int | |
| public int | |
| public GLErrorListener | |
| public int | |
| public int | |
| public FloatCounter | getVertexCount()
Returns: |
| public boolean | |
| public void | |
| public void | setListener(GLErrorListener errorListener)
Set the current listener for the |
| enabled | back to summary |
|---|---|
| private boolean enabled | |
| glInterceptor | back to summary |
|---|---|
| private GLInterceptor glInterceptor | |
| graphics | back to summary |
|---|---|
| private Graphics graphics | |
| listener | back to summary |
|---|---|
| private GLErrorListener listener | |
| GLProfiler | back to summary |
|---|---|
| public GLProfiler(Graphics graphics) Create a new instance of GLProfiler to monitor a
| |
| disable | back to summary |
|---|---|
| public void disable() Disables profiling by resetting the | |
| enable | back to summary |
|---|---|
| public void enable() Enables profiling by replacing the | |
| getCalls | back to summary |
|---|---|
public int getCalls()
| |
| getDrawCalls | back to summary |
|---|---|
public int getDrawCalls()
| |
| getListener | back to summary |
|---|---|
public GLErrorListener getListener()
| |
| getShaderSwitches | back to summary |
|---|---|
public int getShaderSwitches()
| |
| getTextureBindings | back to summary |
|---|---|
public int getTextureBindings()
| |
| getVertexCount | back to summary |
|---|---|
public FloatCounter getVertexCount()
| |
| isEnabled | back to summary |
|---|---|
public boolean isEnabled()
| |
| reset | back to summary |
|---|---|
| public void reset() Will reset the statistical information which has been collected so far. This should be called after every frame. Error listener is kept as it is. | |
| setListener | back to summary |
|---|---|
| public void setListener(GLErrorListener errorListener) Set the current listener for the | |