Package com.jme3.app

Class DetailedProfiler

java.lang.Object
com.jme3.app.DetailedProfiler
All Implemented Interfaces:
AppProfiler

public class DetailedProfiler extends Object implements AppProfiler
Created by Nehon on 25/01/2017.
  • Constructor Details

    • DetailedProfiler

      public DetailedProfiler()
  • Method Details

    • appStep

      public void appStep(AppStep step)
      Description copied from interface: AppProfiler
      Called at the beginning of the specified AppStep.
      Specified by:
      appStep in interface AppProfiler
      Parameters:
      step - the application-level step that's about to begin
    • appSubStep

      public void appSubStep(String... additionalInfo)
      Description copied from interface: AppProfiler
      Called as a substep of the previous AppStep
      Specified by:
      appSubStep in interface AppProfiler
      Parameters:
      additionalInfo - information about the substep
    • vpStep

      public void vpStep(VpStep step, ViewPort vp, RenderQueue.Bucket bucket)
      Description copied from interface: AppProfiler
      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.
      Specified by:
      vpStep in interface AppProfiler
      Parameters:
      step - the ViewPort-level step that's about to begin
      vp - which ViewPort is being processed
      bucket - which Bucket is being processed
    • spStep

      public void spStep(SpStep step, String... additionalInfo)
      Description copied from interface: AppProfiler
      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.
      Specified by:
      spStep in interface AppProfiler
      Parameters:
      step - the SceneProcessor step that's about to begin
      additionalInfo - information about the SceneProcessor step
    • getStats

      public Map<String,DetailedProfiler.StatLine> getStats()
    • getAverageFrameTime

      public double getAverageFrameTime()
    • setRenderer

      public void setRenderer(Renderer renderer)