mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Internals: renamed GetIOEx() to GetIO(). Added GetPlatformIO() explicit context variant.
This commit is contained in:
parent
dbb5eeaadf
commit
e2a99b5760
2 changed files with 10 additions and 2 deletions
|
|
@ -4814,7 +4814,7 @@ ImGuiIO& ImGui::GetIO()
|
|||
}
|
||||
|
||||
// This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856)
|
||||
ImGuiIO& ImGui::GetIOEx(ImGuiContext* ctx)
|
||||
ImGuiIO& ImGui::GetIO(ImGuiContext* ctx)
|
||||
{
|
||||
IM_ASSERT(ctx != NULL);
|
||||
return ctx->IO;
|
||||
|
|
@ -4826,6 +4826,13 @@ ImGuiPlatformIO& ImGui::GetPlatformIO()
|
|||
return GImGui->PlatformIO;
|
||||
}
|
||||
|
||||
// This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856)
|
||||
ImGuiPlatformIO& ImGui::GetPlatformIO(ImGuiContext* ctx)
|
||||
{
|
||||
IM_ASSERT(ctx != NULL;
|
||||
return ctx->PlatformIO;
|
||||
}
|
||||
|
||||
// Pass this to your backend rendering function! Valid after Render() and until the next call to NewFrame()
|
||||
ImDrawData* ImGui::GetDrawData()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue