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

Method GetDrawData

include/imgui/imgui.cpp:5202–5207  ·  view source on GitHub ↗

Pass this to your backend rendering function! Valid after Render() and until the next call to NewFrame()

Source from the content-addressed store, hash-verified

5200
5201// Pass this to your backend rendering function! Valid after Render() and until the next call to NewFrame()
5202ImDrawData* ImGui::GetDrawData()
5203{
5204 ImGuiContext& g = *GImGui;
5205 ImGuiViewportP* viewport = g.Viewports[0];
5206 return viewport->DrawDataP.Valid ? &viewport->DrawDataP : NULL;
5207}
5208
5209double ImGui::GetTime()
5210{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected