import SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo.js";const SceneViewPerformanceInfo = await $arcgis.import("@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.
Properties
| Property | Type | Class |
|---|---|---|
edgesMemory readonly | | |
layerPerformanceInfos readonly | | |
quality readonly | | |
terrainMemory readonly | | |
totalMemory readonly | | |
usedMemory readonly | |
edgesMemory
- 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
- Type
- Array<LayerPerformanceInfo>
An array representing detailed information about memory usage of most layers.
quality
- 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
- 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
- Type
- number
The total memory available to the SceneView, in bytes.
- Default value
- 0
usedMemory
- Type
- number
An estimate of the memory that is in use by the SceneView, in bytes.
- Default value
- 0