UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

12 lines 472 B
import { AbstractEngine } from "../abstractEngine.js"; import { PerfCounter } from "../../Misc/perfCounter.js"; AbstractEngine.prototype.getGPUFrameTimeCounter = function () { if (!this._gpuFrameTime) { this._gpuFrameTime = new PerfCounter(); } return this._gpuFrameTime; }; AbstractEngine.prototype.captureGPUFrameTime = function (value) { // Do nothing. Must be implemented by child classes }; //# sourceMappingURL=abstractEngine.timeQuery.js.map