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

Method getStats

packages/fairygui/src/render/RenderBridge.ts:226–233  ·  view source on GitHub ↗

* Get render statistics * 获取渲染统计

()

Source from the content-addressed store, hash-verified

224 * 获取渲染统计
225 */
226 public getStats(): IRenderStats & { textureCount: number; fontCount: number } {
227 const backendStats = this._backend.getStats();
228 return {
229 ...backendStats,
230 textureCount: this._textureCache.size,
231 fontCount: this._fontCache.size
232 };
233 }
234
235 /**
236 * Dispose the bridge and all resources

Callers

nothing calls this directly

Calls 1

getStatsMethod · 0.65

Tested by

no test coverage detected