EngineInstrumentation

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

see

http://doc.babylonjs.com/how_to/optimizing_your_scene#engineinstrumentation

Hierarchy

  • EngineInstrumentation

Implements

Index

Constructors

constructor

Find examples in Playground

Properties

captureGPUFrameTime

Find examples in Playground
captureGPUFrameTime: boolean

Enable or disable the GPU frame time capture

captureShaderCompilationTime

Find examples in Playground
captureShaderCompilationTime: boolean

Enable or disable the shader compilation time capture

engine

Find examples in Playground
engine: Engine

Define the instrumented engine.

gpuFrameTimeCounter

Find examples in Playground
gpuFrameTimeCounter: PerfCounter

Gets the perf counter used for GPU frame time

shaderCompilationTimeCounter

Find examples in Playground
shaderCompilationTimeCounter: PerfCounter

Gets the perf counter used for shader compilation time

Methods

dispose

Find examples in Playground
  • dispose(): void
  • Dispose and release associated resources.

    Returns void

Generated using TypeDoc