Hi all,
When I’m doing this
var instrumentation = new EngineInstrumentation(scene.getEngine());
instrumentation.captureGPUFrameTime = true;
I get the following error:
engineInstrumentation.js:54 Uncaught (in promise) TypeError: this.engine.captureGPUFrameTime is not a function
at EngineInstrumentation.set (engineInstrumentation.js:54)
at new PerfStats (PerfStats.ts:13)
at Function.<anonymous> (Game.ts:259)
at step (TurretBoomFx.ts:28)
at Object.next (TurretBoomFx.ts:28)
at TurretBoomFx.ts:28
at new Promise (<anonymous>)
at ./src/Game.ts.__awaiter (TurretBoomFx.ts:28)
at Function../src/Game.ts.Game.initScene (Game.ts:234)
at Function.<anonymous> (Game.ts:158)
No clue how to fix this. Any help appreciated.