Package arc.profiling

Interface GLErrorListener


public interface GLErrorListener
Listener for GL errors detected by GLProfiler.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final GLErrorListener
    Listener that will log using Log.error GL error name and GL function.
    static final GLErrorListener
    Listener that will throw a ArcRuntimeException with error name.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(int error)
    Put your error logging code here.
  • Field Details

    • LOGGING_LISTENER

      static final GLErrorListener LOGGING_LISTENER
      Listener that will log using Log.error GL error name and GL function.
    • THROWING_LISTENER

      static final GLErrorListener THROWING_LISTENER
      Listener that will throw a ArcRuntimeException with error name.
  • Method Details