MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / DemoMarker

Method DemoMarker

include/imgui/imgui.cpp:5123–5128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5121}
5122
5123void ImGui::DemoMarker(const char* file, int line, const char* section)
5124{
5125 ImGuiContext& g = *GImGui;
5126 if (g.DemoMarkerCallback != NULL)
5127 g.DemoMarkerCallback(file, line, section);
5128}
5129
5130// We record the number of allocation in recent frames, as a way to audit/sanitize our guiding principles of "no allocations on idle/repeating frames"
5131void ImGui::DebugAllocHook(ImGuiDebugAllocInfo* info, int frame_count, void* ptr, size_t size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected