Skip to content
import SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo.js";
Since
ArcGIS Maps SDK for JavaScript 4.15

This class contains information about performance in the scene like global memory usage and additional details for layers about memory consumption and number of features.

This class is experimental and should be used for debugging purposes only. Its interface will change in future releases.

See also

Properties

PropertyTypeClass
edgesMemory
readonly
quality
readonly
terrainMemory
readonly
totalMemory
readonly
usedMemory
readonly

edgesMemory

readonly Property
Type
number

An estimate of the memory used by the Edges3D feature when added to 3D objects in SceneLayer or to polygons with ExtrudeSymbol3DLayer symbols.

Default value
0

layerPerformanceInfos

readonly Property
Type
Array<LayerPerformanceInfo>

An array representing detailed information about memory usage of most layers.

quality

readonly Property
Type
number

Quality level as a number between 0 and 1. The quality decreases when layers would need more memory than available, which reduces the level of detail, number of features and terrain tile resolution.

Default value
1

terrainMemory

readonly Property
Type
number

An estimate of the memory currently in use by ElevationLayer and tiled layers, in bytes.

This property also includes internal memory of the terrain subsystem, e.g., memory used to composite tiles in case multiple tiled layers are added to the scene.

Default value
0

totalMemory

readonly Property
Type
number

The total memory available to the SceneView, in bytes.

Default value
0

usedMemory

readonly Property
Type
number

An estimate of the memory that is in use by the SceneView, in bytes.

Default value
0