public interface SceneCompilerObserver
SceneCompilerObserver
can be added to a SceneCompiler
to observe the compilation process.Modifier and Type | Method and Description |
---|---|
void |
onComparisonBoundingVolumeHierarchyRootNode(Scene scene,
long milliseconds,
int boundingVolumeHierarchyRootNodeCountAll,
int boundingVolumeHierarchyRootNodeCountUnique)
Called by a
SceneCompiler to report statistics about the BoundingVolumeHierarchy root BoundingVolumeHierarchy.Node s. |
void |
onComparisonPlane(Scene scene,
long milliseconds,
int planeCountAll,
int planeCountUnique)
Called by a
SceneCompiler to report statistics about the Plane s. |
void |
onComparisonPoint2F(Scene scene,
long milliseconds,
int point2FCountAll,
int point2FCountUnique)
Called by a
SceneCompiler to report statistics about the Point2F s. |
void |
onComparisonPoint3F(Scene scene,
long milliseconds,
int point3FCountAll,
int point3FCountUnique)
Called by a
SceneCompiler to report statistics about the Point3F s. |
void |
onComparisonPrimitive(Scene scene,
long milliseconds,
int primitiveCountAll,
int primitiveCountUnique)
Called by a
SceneCompiler to report statistics about the Primitive s. |
void |
onComparisonSphere(Scene scene,
long milliseconds,
int sphereCountAll,
int sphereCountUnique)
Called by a
SceneCompiler to report statistics about the Sphere s. |
void |
onComparisonSurface(Scene scene,
long milliseconds,
int surfaceCountAll,
int surfaceCountUnique)
Called by a
SceneCompiler to report statistics about the Surface s. |
void |
onComparisonTerrain(Scene scene,
long milliseconds,
int terrainCountAll,
int terrainCountUnique)
Called by a
SceneCompiler to report statistics about the Terrain s. |
void |
onComparisonTexture(Scene scene,
long milliseconds,
int textureCountAll,
int textureCountUnique)
Called by a
SceneCompiler to report statistics about the Texture s. |
void |
onComparisonTriangle(Scene scene,
long milliseconds,
int triangleCountAll,
int triangleCountUnique)
Called by a
SceneCompiler to report statistics about the Triangle s. |
void |
onComparisonTriangleMesh(Scene scene,
long milliseconds,
int triangleMeshCountAll,
int triangleMeshCountUnique)
Called by a
SceneCompiler to report statistics about the TriangleMesh es. |
void |
onComparisonVector3F(Scene scene,
long milliseconds,
int vector3FCountAll,
int vector3FCountUnique)
Called by a
SceneCompiler to report statistics about the Vector3F s. |
void |
onCompilationEnd(Scene scene,
long milliseconds)
Called by a
SceneCompiler to report when the compilation process ends. |
void |
onCompilationStart(Scene scene,
long milliseconds)
Called by a
SceneCompiler to report when the compilation process starts. |
void onComparisonBoundingVolumeHierarchyRootNode(Scene scene, long milliseconds, int boundingVolumeHierarchyRootNodeCountAll, int boundingVolumeHierarchyRootNodeCountUnique)
SceneCompiler
to report statistics about the BoundingVolumeHierarchy
root BoundingVolumeHierarchy.Node
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsboundingVolumeHierarchyRootNodeCountAll
- the BoundingVolumeHierarchy
root Node
countboundingVolumeHierarchyRootNodeCountUnique
- the unique BoundingVolumeHierarchy
root Node
countvoid onComparisonPlane(Scene scene, long milliseconds, int planeCountAll, int planeCountUnique)
SceneCompiler
to report statistics about the Plane
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsplaneCountAll
- the Plane
countplaneCountUnique
- the unique Plane
countvoid onComparisonPoint2F(Scene scene, long milliseconds, int point2FCountAll, int point2FCountUnique)
SceneCompiler
to report statistics about the Point2F
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondspoint2FCountAll
- the Point2F
countpoint2FCountUnique
- the unique Point2F
countvoid onComparisonPoint3F(Scene scene, long milliseconds, int point3FCountAll, int point3FCountUnique)
SceneCompiler
to report statistics about the Point3F
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondspoint3FCountAll
- the Point3F
countpoint3FCountUnique
- the unique Point3F
countvoid onComparisonPrimitive(Scene scene, long milliseconds, int primitiveCountAll, int primitiveCountUnique)
SceneCompiler
to report statistics about the Primitive
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsprimitiveCountAll
- the Primitive
countprimitiveCountUnique
- the unique Primitive
countvoid onComparisonSphere(Scene scene, long milliseconds, int sphereCountAll, int sphereCountUnique)
SceneCompiler
to report statistics about the Sphere
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondssphereCountAll
- the Sphere
countsphereCountUnique
- the unique Sphere
countvoid onComparisonSurface(Scene scene, long milliseconds, int surfaceCountAll, int surfaceCountUnique)
SceneCompiler
to report statistics about the Surface
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondssurfaceCountAll
- the Surface
countsurfaceCountUnique
- the unique Surface
countvoid onComparisonTerrain(Scene scene, long milliseconds, int terrainCountAll, int terrainCountUnique)
SceneCompiler
to report statistics about the Terrain
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsterrainCountAll
- the Terrain
countterrainCountUnique
- the unique Terrain
countvoid onComparisonTexture(Scene scene, long milliseconds, int textureCountAll, int textureCountUnique)
SceneCompiler
to report statistics about the Texture
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondstextureCountAll
- the Texture
counttextureCountUnique
- the unique Texture
countvoid onComparisonTriangle(Scene scene, long milliseconds, int triangleCountAll, int triangleCountUnique)
SceneCompiler
to report statistics about the Triangle
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondstriangleCountAll
- the Triangle
counttriangleCountUnique
- the unique Triangle
countvoid onComparisonTriangleMesh(Scene scene, long milliseconds, int triangleMeshCountAll, int triangleMeshCountUnique)
SceneCompiler
to report statistics about the TriangleMesh
es.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondstriangleMeshCountAll
- the TriangleMesh
counttriangleMeshCountUnique
- the unique TriangleMesh
countvoid onComparisonVector3F(Scene scene, long milliseconds, int vector3FCountAll, int vector3FCountUnique)
SceneCompiler
to report statistics about the Vector3F
s.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsvector3FCountAll
- the Vector3F
countvector3FCountUnique
- the unique Vector3F
countvoid onCompilationEnd(Scene scene, long milliseconds)
SceneCompiler
to report when the compilation process ends.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsvoid onCompilationStart(Scene scene, long milliseconds)
SceneCompiler
to report when the compilation process starts.scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in milliseconds