Pass this to your backend rendering function! Valid after Render() and until the next call to NewFrame()
| 5293 | |
| 5294 | // Pass this to your backend rendering function! Valid after Render() and until the next call to NewFrame() |
| 5295 | ImDrawData* ImGui::GetDrawData() |
| 5296 | { |
| 5297 | ImGuiContext& g = *GImGui; |
| 5298 | ImGuiViewportP* viewport = g.Viewports[0]; |
| 5299 | return viewport->DrawDataP.Valid ? &viewport->DrawDataP : NULL; |
| 5300 | } |
| 5301 | |
| 5302 | double ImGui::GetTime() |
| 5303 | { |
nothing calls this directly
no outgoing calls
no test coverage detected