Package com.jme3.app
Class DetailedProfiler
java.lang.Object
com.jme3.app.DetailedProfiler
- All Implemented Interfaces:
AppProfiler
Created by Nehon on 25/01/2017.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called at the beginning of the specified AppStep.void
appSubStep
(String... additionalInfo) Called as a substep of the previous AppStepdouble
getStats()
void
setRenderer
(Renderer renderer) void
Called at the beginning of the specified SpStep (SceneProcessor step).void
vpStep
(VpStep step, ViewPort vp, RenderQueue.Bucket bucket) Called at the beginning of the specified VpStep during the rendering of the specified ViewPort.
-
Constructor Details
-
DetailedProfiler
public DetailedProfiler()
-
-
Method Details
-
appStep
Description copied from interface:AppProfiler
Called at the beginning of the specified AppStep.- Specified by:
appStep
in interfaceAppProfiler
- Parameters:
step
- the application-level step that's about to begin
-
appSubStep
Description copied from interface:AppProfiler
Called as a substep of the previous AppStep- Specified by:
appSubStep
in interfaceAppProfiler
- Parameters:
additionalInfo
- information about the substep
-
vpStep
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 interfaceAppProfiler
- Parameters:
step
- the ViewPort-level step that's about to beginvp
- which ViewPort is being processedbucket
- which Bucket is being processed
-
spStep
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 interfaceAppProfiler
- Parameters:
step
- the SceneProcessor step that's about to beginadditionalInfo
- information about the SceneProcessor step
-
getStats
-
getAverageFrameTime
public double getAverageFrameTime() -
setRenderer
-