MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / ImDrawData

Method ImDrawData

Externals/imgui-1.46/Include/imgui.h:1167–1167  ·  view source on GitHub ↗

Functions

Source from the content-addressed store, hash-verified

1165
1166 // Functions
1167 ImDrawData() { Valid = false; CmdLists = NULL; CmdListsCount = TotalVtxCount = TotalIdxCount = 0; }
1168 IMGUI_API void DeIndexAllBuffers(); // For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
1169 IMGUI_API void ScaleClipRects(const ImVec2& sc); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
1170};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected