MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / ImDrawData

Method ImDrawData

extern/imgui/imgui.h:2749–2749  ·  view source on GitHub ↗

Functions

Source from the content-addressed store, hash-verified

2747
2748 // Functions
2749 ImDrawData() { Clear(); }
2750 void Clear() { memset(this, 0, sizeof(*this)); } // The ImDrawList are owned by ImGuiContext!
2751 IMGUI_API void DeIndexAllBuffers(); // Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
2752 IMGUI_API void ScaleClipRects(const ImVec2& fb_scale); // Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.

Callers

nothing calls this directly

Calls 1

ClearFunction · 0.85

Tested by

no test coverage detected