Class EngineInstrumentation
Implements
Constructors
constructor
-
Instantiates a new engine instrumentation. This class can be used to get instrumentation data from a Babylon engine
Parameters
- engine: AbstractEngine
Defines the engine to instrument
Returns EngineInstrumentation
- engine: AbstractEngine
Accessors
capture GPU Frame Time
-
get captureGPUFrameTime(): boolean
Gets the GPU frame time capture status
Returns boolean
-
set captureGPUFrameTime(value: boolean): void
Enable or disable the GPU frame time capture
Parameters
- value: boolean
Returns void
capture Shader Compilation Time
-
get captureShaderCompilationTime(): boolean
Gets the shader compilation time capture status
Returns boolean
-
set captureShaderCompilationTime(value: boolean): void
Enable or disable the shader compilation time capture
Parameters
- value: boolean
Returns void
gpu Frame Time Counter
-
Gets the perf counter used for GPU frame time
Returns PerfCounter
shader Compilation Time Counter
-
Gets the perf counter used for shader compilation time
Returns PerfCounter
This class can be used to get instrumentation data from a Babylon engine
See
https://doc.babylonjs.com/features/featuresDeepDive/scene/optimize_your_scene#engineinstrumentation