GeezerVison is showing cpp.libhunt.com โ imgui latest version
imgui latest version
v1.92.8
imgui v1.92.8 Release Notes
Release Date: 2026-05-12 //
7 months
ago
-
Dear ImGui v1.92.8 ๐ต
โ Reading the changelog is a good way to keep up to date with what Dear ImGui has to offer , and will give you ideas of some features that you've been ignoring until now!
๐ ๐ฃ If you are browsing multiple releases: click version number above to display full release note contents, otherwise it is badly clipped by GitHub!
๐ Links: Homepage - Release notes - FAQ - Issues, Q&A. Also see our Wiki with sections such as..
Dear ImGui is funded by your contributions and absolutely needs them to sustain and grow. We can invoice and accommodate to many situations. If your company uses Dear ImGui, please reach out. See Funding page. Did you know? If you need an excuse to pay, you may buy licenses for Test Engine and buy hours of support (and cough not use them all) and that will contribute to fund Dear ImGui.
โค๏ธ Thanks to sponsors โค๏ธ
โ
As well as various paid/corporate licenses to imgui_test_engine supporting the project.t
๐ News about Third-Party Projects

Check the Useful Extensions/Widgets page for many more.
๐ Changes in v1.92.8 (since v1.92.7)
๐ ๐ 1.92.8 contains a signature change for the trailing optional parameters of ImDrawList::AddRect(). C++ users should be notified at compile-time, but languages without type-checking may only be notified at runtime. Read below. This is unusually bold but we occasionally need this to move forward sanely.
๐ ๐ Need help updating your custom rendering backend to support ImGuiBackendFlags_RendererHasTextures introduced in v1.92.0 ? You can read the recently improved docs/BACKENDS.md.
๐ฅ Breaking Changes
DrawList: swapped the last two arguments of AddRect(), AddPolyline(), PathStroke().
-- void ImDrawList::AddRect(ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0, float thickness = 1.0f);++ void ImDrawList::AddRect(ImVec2 p_min, ImVec2 p_max, ImU32 col, float rounding = 0.0f, float thickness = 1.0f, ImDrawFlags flags = 0);-- void ImDrawList::AddPolyline(const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness);++ void ImDrawList::AddPolyline(const ImVec2* points, int num_points, ImU32 col, float thickness, ImDrawFlags flags = 0);-- void ImDrawList::PathStroke(ImU32 col, ImDrawFlags flags = 0, float thickness = 1.0f);++ void ImDrawList::PathStroke(ImU32 col, float thickness = 1.0f, ImDrawFlags flags = 0);
Added inline redirection functions when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is off.
Marked the old functions are =delete when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is on, to allow for better type-checking.
Effectively the typical call site is simplified:
-- window-\>DrawList-\>AddRect(p\_min, p\_max, color, rounding, ImDrawFlags\_None, border\_size);++ window-\>DrawList-\>AddRect(p\_min, p\_max, color, rounding, border\_size);
Notes:
- Users of C++ and other languages with type-checking will be notified at compile-time of any mistakes.
- Users of high-level bindings or languages with no type-checking will be notified at runtime via an assert for invalid flags value. If you are a binding maintainer consider doing something to facilitate transition or error detection.
- This is perhaps the worst breaking change in our history :( but it makes ImDrawList function signatures consistent. As we are aiming to add flags and features to variety of ImDrawList functions, that consistency becomes more important. The new order is also more convenient as
flags are less frequently used than thickness in real code.
- As a general policy in Dear ImGui, all our flags default to 0 so ImDrawFlags_None was likely written 0 in some call sites.
- Consider adding
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS in your imconfig.h, even temporarily, to clean up legacy code.
- Reminder: you do NOT need to specify
ImDrawFlags_RoundCornersAll for rounding, it is already the default!
DrawList: obsoleted ImDrawCallback_ResetRenderState in favor of using ImGui::GetPlatformIO().DrawCallback_ResetRenderState, which is part of our new standard draw callbacks. (#9378) Redirecting the earlier value into the later one when set, so both old and new code should work.
Backends: Vulkan: redesigned to use separate ImageView + Sampler instead of Combined Image Sampler. This change allows us to facilitate changing samplers, in line with other backends. (#914) [@yaz0r, @ocornut]
- When creating your own descriptor pool (instead of letting backend creates its own):
- Before: need at least
IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE descriptors of type VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
- After: need at least
IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE descriptors of type VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE descriptors of type VK_DESCRIPTOR_TYPE_SAMPLER.
- When registering custom textures: changed ImGui_ImplVulkan_AddTexture() signature to remove Sampler.
- Before:
ImGui_ImplVulkan_AddTexture(VkSampler, VkImageView, VkImageLayout)
- After:
ImGui_ImplVulkan_AddTexture(VkImageView, VkImageLayout)
- Kept inline redirection function that ignores the sampler (will obsolete).
Backends: DirectX10, DirectX11, SDLGPU3, Vulkan: removed samplers from ImGui_ImplXXXX_RenderState. (#9378) Prefer to use backend-agnostic DrawCallback_SetSamplerLinear which works everywhere! If there is a legit need/request for them or any render state we can always add them back.
Other Changes
DrawList:
- 0๏ธโฃ Made
AddCallback() user data default to Null for convenience.
- โ Added
AddLineH(), AddLineV() helpers to draw horizontal and vertical lines. [@memononen]
- โ Added room in
ImGuiPlatformIO for standard backend-agnostic draw callbacks. Those callbacks are setup/provided by the backend and available in most of our standard backends. They allow backend-agnostic code from e.g. switching to a Nearest/Point sampler without messing with custom Renderer-specific callbacks:
platform_io.DrawCallback_ResetRenderState; // Request to reset the graphics/render state.
platform_io.DrawCallback_SetSamplerLinear; // Request to set current texture sampling to Linear
platform_io.DrawCallback_SetSamplerNearest; // Request to set current texture sampling to Nearest/Point
- Note that some backends might not support all callbacks. (#9378, #9371, #3590, #8926, #2973, #7485, #7468, #6969, #5118, #7616, #9173, #8322, #7230, #5999, #6452, #5156, #7342, #7592, #7511)
InputText:
- ๐ InputTextMultiline: fixed an issue processing deactivation logic when an active multi-line edit is clipped due to being out of view.
- ๐ Fixed a crash when toggling ReadOnly while active. (#9354)
CharFilter callback event sets CursorPos/SelectionStart/SelectionEnd. (#816)
Tables:
Previous changes from v1.92.7
-
Dear ImGui v1.92.7: Spring again ๐ฑ
โ Reading the changelog is a good way to keep up to date with what Dear ImGui has to offer , and will give you ideas of some features that you've been ignoring until now!
๐ ๐ฃ If you are browsing multiple releases: click version number above to display full release note contents, otherwise it is badly clipped by GitHub!
๐ Links: Homepage - Release notes - FAQ - Issues, Q&A. Also see our Wiki with sections such as..
Dear ImGui is funded by your contributions and absolutely needs them to sustain and grow. We can invoice and accommodate to many situations. If your company uses Dear ImGui, please reach out. See Funding page. Did you know? If you need an excuse to pay, you may buy licenses for Test Engine and buy hours of support (and cough not use them all) and that will contribute to fund Dear ImGui.
โค๏ธ Thanks to sponsors โค๏ธ
First time sponsors!
And all recent years sponsors:
โ
As well as various paid/corporate licenses to imgui_test_engine supporting the project.t
Fun fact ๐
The french game industry kindly awarded me an honorary prize at the Pegases 2026 awards, principally motivated by my work on Dear ImGui. (photos: x / bsky).

๐ News about Third-Party Projects



Check the Useful Extensions/Widgets page for many more.
๐ Changes in v1.92.7 (since v1.92.6)
๐ ๐ Need help updating your custom rendering backend to support ImGuiBackendFlags_RendererHasTextures introduced in v1.92.0 ? You can read the recently improved docs/BACKENDS.md.
๐ฅ Breaking Changes
๐ Separator(): fixed a legacy quirk where Separator() was submitting a zero-height item for layout purpose, even though it draws a 1-pixel separator. The fix could affect code e.g. computing height from multiple widgets in order to allocate vertical space for a footer or multi-line status bar. (#2657, #9263). The "Console" example had such a bug:
floatfooter_height = style.ItemSpacing.y + ImGui::GetFrameHeightWithSpacing();BeginChild("ScrollingRegion", {0, -footer_height });
Should be:
floatfooter_height = style.ItemSpacing.y + style.SeparatorSize + ImGui::GetFrameHeightWithSpacing();BeginChild("ScrollingRegion", {0, -footer_height });
When such idiom was used and assuming zero-height Separator, it is likely that in 1.92.7 the resulting window will have unexpected 1 pixel scrolling range.
- Multi-Select: renamed
ImGuiMultiSelectFlags_SelectOnClick to ImGuiMultiSelectFlags_SelectOnAuto. Kept inline redirection enum (will obsolete).
- Combo(), ListBox(): commented out legacy signatures which were obsoleted in 1.90 (Nov 2023), when the getter callback type was changed from:
bool (*getter)(void* user_data, int idx, const char** out_text) to const char* (*getter)(void* user_data, int idx).
Other Changes
- TreeNode:
- Moved
TreeNodeGetOpen() helper to public API. I was hesitant to make this public because I intend to provide a more generic and feature-full version, but in the meanwhile this will do. (#3823, #9251, #7553, #6754, #5423, #2958, #2079, #1947, #1131, #722)
- In 'Demo->Property Editor' demonstrate a way to perform tree clipping by fast-forwarding through non-visible chunks. (#3823, #9251, #6990, #6042) Using
SetNextItemStorageID() + TreeNodeGetOpen() makes this notably easier than it was prior to 1.91.

InputText:
- Shift+Enter in multi-line editor always adds a new line, regardless of
ImGuiInputTextFlags_CtrlEnterForNewLine being set or not. (#9239)
- Reworked
io.ConfigInputTextEnterKeepActive mode so that pressing Enter will deactivate/reactivate the item in order for e.g. IsItemDeactivatedAfterEdit() signals to be emitted the same way regardless of that setting. (#9001, #9115)
- Fixed a glitch when using
ImGuiInputTextFlags_ElideLeft where the local x offset would be incorrect during the deactivation frame. (#9298)
- Fixed a crash introduced in 1.92.6 when handling
ImGuiInputTextFlags_CallbackResize in certain situations. (#9174)
- Fixed selection highlight Y1 offset being very slightly off (since 1.92.3). (#9311) [@v-ein]
- InputTextMultiline: fixed an issue introduced in 1.92.3 where line count calculated for vertical scrollbar range would be +1 when the widget is inactive, word-wrap is disabled and the text buffer ends with '\n'. Fixed a similar issue related to clipping large amount of text.
- InputTextMultiline: avoid going through reactivation code and fixed losing revert value when activating scrollbar.
- InputTextMultiline: fixed an issue where edit buffer wouldn't be reapplied to back buffer on the
IsItemDeactivatedAfterEdit() frame. This could create issues when using the idiom of not applying edits before IsItemDeactivatedAfterEdit(). (#9308, #8915, #8273)
Tables:
- Allow reordering columns by dragging them in the context menu. (#9312)
- Context menu now presents columns in display order. (#9312)
- Fixed and clarified the behavior of using
TableSetupScrollFreeze() with columns>1, and where some of the columns within that range were Hidable.
- Before:
TableSetupScrollFreeze(N, 0): include the N left-most visible columns as part of the scroll freeze. So if you intentionally hide columns <N, the scroll freeze area would start covering the subsequent/following columns (N+1) etc.
- After:
TableSetupScrollFreeze(N, 0): include the N left-most columns (regardless of visibility), as part of the scroll freeze. So if you intentionally hide columns <N, the scroll freeze area will cover less columns.
- This is generally more sane and logical.
- Fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id.
- Angled Headers: angled section for column being reordered via the regular headers stays highlighted during reordering.

- ๐
Style:
- Fonts: fixed an issue introduced in 1.92.6 where
style.FontBaseSize would be cleared during the first frame if no fonts was explicitly added before.
- Border sizes are now scaled (and rounded) by
ScaleAllSizes().
- When using large values with
ScallAllSizes(), the following items...
|