@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.
16 lines (15 loc) • 392 B
TypeScript
import { PerfCounter } from "../../Misc/perfCounter.js";
/**
* Class used to define a WebGPU performance counter
*/
export declare class WebGPUPerfCounter {
private _gpuTimeInFrameId;
/**
* The GPU time in nanoseconds spent in the last frame
*/
counter: PerfCounter;
/**
* @internal
*/
_addDuration(currentFrameId: number, duration: number): void;
}