A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
docs(render): the timer's note says the trap in four lines
esengine36558168c1fc
diff --git a/src/esengine/renderer/frame/RenderFrame.hpp b/src/esengine/renderer/frame/RenderFrame.hppindex e0b2b2a60..824a14f21 100644--- a/src/esengine/renderer/frame/RenderFrame.hpp+++ b/src/esengine/renderer/frame/RenderFrame.hpp@@ -284,10 +284,8 @@ private:Stats stats_;/*** ONE per frame, spanning the graph. GL's TIME_ELAPSED has a single global- * target and WebGPU's timestamps land in one queue, so a second timer opened- * inside this one's span does not measure a nested region — it ends this- * query on GL and steals this reading on WebGPU. The scene is a pass of the- * graph, so its own share is a per-pass question, not a second timer.+ * target and WebGPU's timestamps land in one queue, so a timer opened inside+ * this one's span ends this query on GL and steals this reading on WebGPU.*/GpuTimer gpu_timer_;FrameCapture frame_capture_;