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