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 TypeFieldDescriptionlongThe time spent in the cull stage in nanosecondslongThe time spent in the draw stage in nanosecondslongThe total time to render the scene in nanosecondslongThe time spent in the sort stage in nanoseconds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturn the time spent in the cull stage in nanosecondslongReturn the time spent in the draw stage in nanosecondslongReturn the total time to render the scene in nanosecondslongReturn 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:ProfilingInfoReturn the total time to render the scene in nanoseconds- Specified by:
getSceneRenderTimein interfaceProfilingInfo- Returns:
- the total time to render the scene in nanoseconds
-
getSceneCullTime
public long getSceneCullTime()Description copied from interface:ProfilingInfoReturn the time spent in the cull stage in nanoseconds- Specified by:
getSceneCullTimein interfaceProfilingInfo- Returns:
- the time spent in the cull stage in nanoseconds
-
getSceneSortTime
public long getSceneSortTime()Description copied from interface:ProfilingInfoReturn the time spent in the sort stage in nanoseconds- Specified by:
getSceneSortTimein interfaceProfilingInfo- Returns:
- the time spent in the sort stage in nanoseconds
-
getSceneDrawTime
public long getSceneDrawTime()Description copied from interface:ProfilingInfoReturn the time spent in the draw stage in nanoseconds- Specified by:
getSceneDrawTimein interfaceProfilingInfo- Returns:
- the time spent in the draw stage in nanoseconds
-