Package org.web3d.browser
Class AbstractProfilingInfo
java.lang.Object
org.web3d.browser.AbstractProfilingInfo
- All Implemented Interfaces:
ProfilingInfo
- Direct Known Subclasses:
OGLProfilingInfo
Timing data for profiling the performance of different rendering stages.
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
The time spent in the cull stage in nanosecondslong
The time spent in the draw stage in nanosecondslong
The total time to render the scene in nanosecondslong
The time spent in the sort stage in nanoseconds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the time spent in the cull stage in nanosecondslong
Return the time spent in the draw stage in nanosecondslong
Return the total time to render the scene in nanosecondslong
Return the time spent in the sort stage in nanoseconds
-
Field Details
-
sceneRenderTime
public long sceneRenderTimeThe total time to render the scene in nanoseconds -
sceneCullTime
public long sceneCullTimeThe time spent in the cull stage in nanoseconds -
sceneSortTime
public long sceneSortTimeThe time spent in the sort stage in nanoseconds -
sceneDrawTime
public long sceneDrawTimeThe time spent in the draw stage in nanoseconds
-
-
Constructor Details
-
AbstractProfilingInfo
public AbstractProfilingInfo()
-
-
Method Details
-
getSceneRenderTime
public long getSceneRenderTime()Description copied from interface:ProfilingInfo
Return the total time to render the scene in nanoseconds- Specified by:
getSceneRenderTime
in interfaceProfilingInfo
- Returns:
- the total time to render the scene in nanoseconds
-
getSceneCullTime
public long getSceneCullTime()Description copied from interface:ProfilingInfo
Return the time spent in the cull stage in nanoseconds- Specified by:
getSceneCullTime
in interfaceProfilingInfo
- Returns:
- the time spent in the cull stage in nanoseconds
-
getSceneSortTime
public long getSceneSortTime()Description copied from interface:ProfilingInfo
Return the time spent in the sort stage in nanoseconds- Specified by:
getSceneSortTime
in interfaceProfilingInfo
- Returns:
- the time spent in the sort stage in nanoseconds
-
getSceneDrawTime
public long getSceneDrawTime()Description copied from interface:ProfilingInfo
Return the time spent in the draw stage in nanoseconds- Specified by:
getSceneDrawTime
in interfaceProfilingInfo
- Returns:
- the time spent in the draw stage in nanoseconds
-