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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled at the beginning of the specified AppStep.voidappSubStep(String... additionalInfo) Called as a substep of the previous AppStepdoublegetStats()voidsetRenderer(Renderer renderer) voidCalled at the beginning of the specified SpStep (SceneProcessor step).voidvpStep(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:AppProfilerCalled at the beginning of the specified AppStep.- Specified by:
appStepin interfaceAppProfiler- Parameters:
step- the application-level step that's about to begin
-
appSubStep
Description copied from interface:AppProfilerCalled as a substep of the previous AppStep- Specified by:
appSubStepin interfaceAppProfiler- Parameters:
additionalInfo- information about the substep
-
vpStep
Description copied from interface:AppProfilerCalled 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:
vpStepin 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:AppProfilerCalled 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:
spStepin interfaceAppProfiler- Parameters:
step- the SceneProcessor step that's about to beginadditionalInfo- information about the SceneProcessor step
-
getStats
-
getAverageFrameTime
public double getAverageFrameTime() -
setRenderer
-