UNPKG

@animech-public/playcanvas

Version:
2 lines (1 loc) 247 B
class i{constructor(i){this.device=i,i.gpuProfiler.enabled=!0,this.enabled=!0,this.unitsName="ms",this.decimalPlaces=1,this._timings=[]}get timings(){return this._timings[0]=this.device.gpuProfiler._frameTime,this._timings}}export{i as GpuTimer};