Skip to content

Commit

Permalink
COmbine scene objects / draw calls into a single line
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Dec 28, 2024
1 parent 2d12502 commit 550f81c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ class DebugOverlay implements ImGuiElement, Switch<DebugOverlay> {

ImGui.text("Framerate: ${sprintf('%.1f', ImGui.getIO().framerate)}fps, Frametime: ${sprintf('%.1f', 1000 / ImGui.getIO().framerate)}ms")
ImGui.text("Memory used: ${String.format('%.2f', memoryUsage)}MB, GCs: ${garbageCollections}")
ImGui.text("Scene objects: ${engineStats.sceneObjects.get()}")
ImGui.text("Draw calls: ${engineStats.drawCalls.getAndSet(0)}")
ImGui.text("Scene objects: ${engineStats.sceneObjects.get()}, draw calls: ${engineStats.drawCalls.getAndSet(0)}")
ImGui.text("Graphics meshes: ${engineStats.activeMeshes}, textures: ${engineStats.activeTextures}")
ImGui.text("Graphics framebuffers: ${engineStats.activeFramebuffers}, uniform buffers: ${engineStats.activeUniformBuffers}")
ImGui.text("Sound sources: ${engineStats.activeSources}, buffers: ${engineStats.activeBuffers}")
Expand Down

0 comments on commit 550f81c

Please sign in to comment.