EngineInstrumentation

Description

class EngineInstrumentation

This class can be used to get instrumentation data from a Babylon engine

Constructor

new EngineInstrumentation(engine)

Parameters

Name Type Description
engine Engine

Members

engine : Engine

gpuFrameTimeCounter : PerfCounter

Gets the perf counter used for GPU frame time

captureGPUFrameTime : boolean

Gets the GPU frame time capture status

Enable or disable the GPU frame time capture

shaderCompilationTimeCounter : PerfCounter

Gets the perf counter used for shader compilation time

captureShaderCompilationTime : boolean

Gets the shader compilation time capture status

Enable or disable the shader compilation time capture

Methods

dispose() void