Interface AppProfiler

All Known Implementing Classes:
BasicProfiler, DefaultAndroidProfiler, DetailedProfiler

public interface AppProfiler
Can be hooked into the application (and render manager) to receive callbacks about specific frame steps. It is up to the specific implementation to decide what to do with the information.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called at the beginning of the specified AppStep.
    void
    appSubStep(String... additionalInfo)
    Called as a substep of the previous AppStep
    void
    spStep(SpStep step, String... additionalInfo)
    Called at the beginning of the specified SpStep (SceneProcessor step).
    void
    Called at the beginning of the specified VpStep during the rendering of the specified ViewPort.
  • Method Details

    • appStep

      void appStep(AppStep step)
      Called at the beginning of the specified AppStep.
      Parameters:
      step - the application-level step that's about to begin
    • appSubStep

      void appSubStep(String... additionalInfo)
      Called as a substep of the previous AppStep
      Parameters:
      additionalInfo - information about the substep
    • vpStep

      void vpStep(VpStep step, ViewPort vp, RenderQueue.Bucket bucket)
      Called at the beginning of the specified VpStep during the rendering of the specified ViewPort. For bucket-specific steps the Bucket parameter will be non-null.
      Parameters:
      step - the ViewPort-level step that's about to begin
      vp - which ViewPort is being processed
      bucket - which Bucket is being processed
    • spStep

      void spStep(SpStep step, String... additionalInfo)
      Called at the beginning of the specified SpStep (SceneProcessor step). For more detailed steps it is possible to provide additional information as strings, like the name of the processor.
      Parameters:
      step - the SceneProcessor step that's about to begin
      additionalInfo - information about the SceneProcessor step