mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-22 01:54:21 +00:00
Drag and Drop: Added ImGuiDragDropFlags_PayloadNoCrossContext and ImGuiDragDropFlags_PayloadNoCrossProcess flags.
This commit is contained in:
parent
8c318dc770
commit
77d9f80754
3 changed files with 10 additions and 0 deletions
|
|
@ -14569,6 +14569,11 @@ void ImGui::ShowMetricsWindow(bool* p_open)
|
|||
|
||||
// Basic info
|
||||
Text("Dear ImGui %s", GetVersion());
|
||||
if (g.ContextName[0] != NULL)
|
||||
{
|
||||
SameLine();
|
||||
Text("(Context Name: \"%s\")", g.ContextName);
|
||||
}
|
||||
Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
|
||||
Text("%d vertices, %d indices (%d triangles)", io.MetricsRenderVertices, io.MetricsRenderIndices, io.MetricsRenderIndices / 3);
|
||||
Text("%d visible windows, %d current allocations", io.MetricsRenderWindows, g.DebugAllocInfo.TotalAllocCount - g.DebugAllocInfo.TotalFreeCount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue