Package arc.profiling

Class GLInterceptor

java.lang.Object
arc.profiling.GLInterceptor
All Implemented Interfaces:
GL20
Direct Known Subclasses:
GL20Interceptor, GL30Interceptor

public abstract class GLInterceptor extends Object implements GL20
  • Field Details

    • vertexCount

      public final FloatCounter vertexCount
    • calls

      public int calls
    • textureBindings

      public int textureBindings
    • drawCalls

      public int drawCalls
    • shaderSwitches

      public int shaderSwitches
    • stateChanges

      public int stateChanges
    • glProfiler

      protected GLProfiler glProfiler
  • Constructor Details

    • GLInterceptor

      protected GLInterceptor(GLProfiler profiler)
  • Method Details

    • resolveErrorNumber

      public static String resolveErrorNumber(int error)
    • reset

      public void reset()