MCPcopy Create free account
hub / github.com/esengine/esengine / getStats

Method getStats

packages/editor-app/src/services/EngineService.ts:1089–1091  ·  view source on GitHub ↗

* Get engine statistics.

()

Source from the content-addressed store, hash-verified

1087 * Get engine statistics.
1088 */
1089 getStats(): { fps: number; drawCalls: number; spriteCount: number } {
1090 return this._runtime?.getStats() ?? { fps: 0, drawCalls: 0, spriteCount: 0 };
1091 }
1092
1093 /**
1094 * Get the ECS scene.

Callers

nothing calls this directly

Calls 1

getStatsMethod · 0.65

Tested by

no test coverage detected