Class: FrameStatistics

FrameStatistics()

Captures performance statistics.

Constructor

new FrameStatistics()

Constructs a performance statistics instance. This is performed internally by the WorldWindow. Applications do not construct instances of this class.
Source:

Members

frameRateAverage :Number

The average frame rate over the most recent two seconds.
Type:
  • Number
Source:

frameTime :Number

The number of milliseconds required to render the most recent frame.
Type:
  • Number
Source:

frameTimeAverage :Number

The average frame time over the most recent two seconds.
Type:
  • Number
Source:

frameTimeMax :Number

The maximum frame time over the most recent two seconds.
Type:
  • Number
Source:

frameTimeMin :Number

The minimum frame time over the most recent two seconds.
Type:
  • Number
Source:

imageTileCount :Number

The number of image tiles in the most recent frame.
Type:
  • Number
Source:

layerRenderingTime :Number

The number of milliseconds spent rendering the active layers during the most recent frame.
Type:
  • Number
Source:

orderedRenderingTime :Number

The number of milliseconds spent rendering ordered renderables during the most recent frame.
Type:
  • Number
Source:

renderedTileCount :Number

The number of terrain tile renderings. Since terrain tiles are generally rendered more than once per frame, this count will be greater than the number of terrain tiles created for the frame.
Type:
  • Number
Source:

terrainTileCount :Number

The number of terrain tiles in the most recent frame.
Type:
  • Number
Source:

tessellationTime :Number

The number of milliseconds spent tessellating the terrain during the most recent frame.
Type:
  • Number
Source:

textureLoadCount :Number

The number of texture bind calls during the most recent frame.
Type:
  • Number
Source:

tileUpdateCount :Number

The number of calls to Tile.update() during the most recent frame.
Type:
  • Number
Source:

vboLoadCount :Number

The number of WebGL VBO loads during the most recent frame.
Type:
  • Number
Source:

Methods

beginFrame()

Initializes this frame statistics with initial values.
Source:

endFrame()

Computes the statistics for the most recent frame.
Source:

incrementImageTileCount(tileCount)

Increments the image tile count.
Parameters:
Name Type Description
tileCount Number The amount to increment the counter.
Source:

incrementRenderedTileCount(tileCount)

Increments the rendered tile count.
Parameters:
Name Type Description
tileCount Number The amount to increment the counter.
Source:

incrementTextureLoadCount(count)

Increments the texture load count.
Parameters:
Name Type Description
count Number The amount to increment the counter.
Source:

incrementTileUpdateCount(count)

Increments the tile update count.
Parameters:
Name Type Description
count Number The amount to increment the counter.
Source:

incrementVboLoadCount(count)

Increments the VBO load count.
Parameters:
Name Type Description
count Number The amount to increment the counter.
Source:

setTerrainTileCount(tileCount)

Sets the terrain tile count.
Parameters:
Name Type Description
tileCount Number The amount to set the counter to.
Source: