Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EngineInstrumentation

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

see

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

Hierarchy

  • EngineInstrumentation

Implements

Index

Constructors

constructor

Properties

engineSearch playground for engine

engine: Engine

Define the instrumented engine.

Accessors

captureGPUFrameTime

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

    Returns boolean

  • Enable or disable the GPU frame time capture

    Parameters

    • value: boolean

    Returns any

captureShaderCompilationTime

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

    Returns boolean

  • Enable or disable the shader compilation time capture

    Parameters

    • value: boolean

    Returns any

gpuFrameTimeCounter

  • Gets the perf counter used for GPU frame time

    Returns PerfCounter

shaderCompilationTimeCounter

  • Gets the perf counter used for shader compilation time

    Returns PerfCounter

Methods

disposeSearch playground for dispose

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

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method
  • Static method