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

Method _startRenderLoop

packages/runtime-core/src/GameRuntime.ts:570–576  ·  view source on GitHub ↗

* 启动渲染循环

()

Source from the content-addressed store, hash-verified

568 * 启动渲染循环
569 */
570 private _startRenderLoop(): void {
571 if (this._animationFrameId !== null) {
572 return;
573 }
574 this._lastTime = performance.now();
575 this._renderLoop();
576 }
577
578 /**
579 * 渲染循环

Callers 2

initializeMethod · 0.95
startMethod · 0.95

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected