You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backends/imgui_impl_allegro5.cpp
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID!
6
6
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy ALLEGRO_KEY_* values are obsolete since 1.87 and not supported since 1.91.5]
7
-
// [X] Platform: Clipboard support (from Allegro 5.1.12)
8
-
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
-
// Issues:
7
+
// [X] Platform: Clipboard support (from Allegro 5.1.12).
8
+
// [X] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
+
//Missing features or Issues:
10
10
// [ ] Renderer: The renderer is suboptimal as we need to convert vertices manually.
Copy file name to clipboardExpand all lines: backends/imgui_impl_allegro5.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID!
6
6
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy ALLEGRO_KEY_* values are obsolete since 1.87 and not supported since 1.91.5]
7
-
// [X] Platform: Clipboard support (from Allegro 5.1.12)
8
-
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
-
// Issues:
7
+
// [X] Platform: Clipboard support (from Allegro 5.1.12).
8
+
// [X] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
+
// Missing features or Issues:
10
10
// [ ] Renderer: The renderer is suboptimal as we need to unindex our buffers and convert vertices manually.
Copy file name to clipboardExpand all lines: backends/imgui_impl_android.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@
4
4
// Implemented features:
5
5
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy AKEYCODE_* values are obsolete since 1.87 and not supported since 1.91.5]
6
6
// [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen.
// [ ] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
10
+
// [ ] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
11
11
// Important:
12
12
// - Consider using SDL or GLFW backend on Android, which will be more full-featured than this.
13
13
// - FIXME: On-screen keyboard currently needs to be enabled by the application (see examples/ and issue #3446)
Copy file name to clipboardExpand all lines: backends/imgui_impl_android.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@
4
4
// Implemented features:
5
5
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy AKEYCODE_* values are obsolete since 1.87 and not supported since 1.91.5]
6
6
// [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen.
// [ ] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
10
+
// [ ] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
11
11
// Important:
12
12
// - Consider using SDL or GLFW backend on Android, which will be more full-featured than this.
13
13
// - FIXME: On-screen keyboard currently needs to be enabled by the application (see examples/ and issue #3446)
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
if (bd->pFontSampler) { bd->pFontSampler->Release(); bd->pFontSampler = nullptr; }
523
-
if (bd->pFontTextureView) { bd->pFontTextureView->Release(); bd->pFontTextureView = nullptr; ImGui::GetIO().Fonts->SetTexID(0); } // We copied bd->pFontTextureView to io.Fonts->TexID so let's clear that as well.
524
536
if (bd->pIB) { bd->pIB->Release(); bd->pIB = nullptr; }
525
537
if (bd->pVB) { bd->pVB->Release(); bd->pVB = nullptr; }
526
538
if (bd->pBlendState) { bd->pBlendState->Release(); bd->pBlendState = nullptr; }
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx11.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
9
9
// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx11.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
9
9
// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx12.cpp
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
9
9
// The aim of imgui_impl_dx12.h/.cpp is to be usable in your engine without any modification.
@@ -19,6 +19,7 @@
19
19
20
20
// CHANGELOG
21
21
// (minor and older changes stripped away, please see git history for details)
22
+
// 2024-12-09: DirectX12: Let user specifies the DepthStencilView format by setting ImGui_ImplDX12_InitInfo::DSVFormat.
22
23
// 2024-11-15: DirectX12: *BREAKING CHANGE* Changed ImGui_ImplDX12_Init() signature to take a ImGui_ImplDX12_InitInfo struct. Legacy ImGui_ImplDX12_Init() signature is still supported (will obsolete).
23
24
// 2024-11-15: DirectX12: *BREAKING CHANGE* User is now required to pass function pointers to allocate/free SRV Descriptors. We provide convenience legacy fields to pass a single descriptor, matching the old API, but upcoming features will want multiple.
24
25
// 2024-10-23: DirectX12: Unmap() call specify written range. The range is informational and may be used by debug tools.
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx12.h
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
9
9
// The aim of imgui_impl_dx12.h/.cpp is to be usable in your engine without any modification.
@@ -29,7 +29,8 @@ struct ImGui_ImplDX12_InitInfo
29
29
ID3D12Device*Device;
30
30
ID3D12CommandQueue*CommandQueue;
31
31
intNumFramesInFlight;
32
-
DXGI_FORMATRTVFormat;
32
+
DXGI_FORMATRTVFormat; // RenderTarget format.
33
+
DXGI_FORMATDSVFormat; // DepthStencilView format.
33
34
void*UserData;
34
35
35
36
// Allocating SRV descriptors for textures is up to the application, so we provide callbacks.
0 commit comments