Package com.jme3.profile
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 TypeMethodDescriptionvoid
Called at the beginning of the specified AppStep.void
appSubStep
(String... additionalInfo) Called as a substep of the previous AppStepvoid
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.
-
Method Details
-
appStep
Called at the beginning of the specified AppStep.- Parameters:
step
- the application-level step that's about to begin
-
appSubStep
Called as a substep of the previous AppStep- Parameters:
additionalInfo
- information about the substep
-
vpStep
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 beginvp
- which ViewPort is being processedbucket
- which Bucket is being processed
-
spStep
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 beginadditionalInfo
- information about the SceneProcessor step
-