Interface GLErrorListener
-
public interface GLErrorListener
Listener for GL errors detected byGLProfiler
.- See Also:
GLProfiler
-
-
Field Summary
Fields Modifier and Type Field Description static GLErrorListener
LOGGING_LISTENER
Listener that will log using Gdx.app.error GL error name and GL function.static GLErrorListener
THROWING_LISTENER
Listener that will throw a GdxRuntimeException with error name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(int error)
Put your error logging code here.
-
-
-
Field Detail
-
LOGGING_LISTENER
static final GLErrorListener LOGGING_LISTENER
Listener that will log using Gdx.app.error GL error name and GL function.
-
THROWING_LISTENER
static final GLErrorListener THROWING_LISTENER
Listener that will throw a GdxRuntimeException with error name.
-
-
Method Detail
-
onError
void onError(int error)
Put your error logging code here.- See Also:
GLInterceptor.resolveErrorNumber(int)
-
-