Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • EngineInstrumentation

Implements

Index

Constructors

Properties

engine: Engine

Define the instrumented engine.

Accessors

  • get captureGPUFrameTime(): boolean
  • set captureGPUFrameTime(value: boolean): void
  • Gets the GPU frame time capture status

    Returns boolean

  • Enable or disable the GPU frame time capture

    Parameters

    • value: boolean

    Returns void

  • get captureShaderCompilationTime(): boolean
  • set captureShaderCompilationTime(value: boolean): void
  • Gets the shader compilation time capture status

    Returns boolean

  • Enable or disable the shader compilation time capture

    Parameters

    • value: boolean

    Returns void

  • Gets the perf counter used for GPU frame time

    Returns PerfCounter

  • Gets the perf counter used for shader compilation time

    Returns PerfCounter

Methods

  • dispose(): void
  • Dispose and release associated resources.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme