Debian Codegraph @

subprojects/imgui-1.91.6/backends/imgui_impl_dx10.h

raw
1 // dear imgui: Renderer Backend for DirectX10
2 // This needs to be used along with a Platform Backend (e.g. Win32)
3
4 // Implemented features:
5 // [X] Renderer: User texture binding. Use 'ID3D10ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6 // [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
8 // You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
9 // Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
10 // Learn about Dear ImGui:
11 // - FAQ https://dearimgui.com/faq
12 // - Getting Started https://dearimgui.com/getting-started
13 // - Documentation https://dearimgui.com/docs (same as your local docs/ folder).
14 // - Introduction, links and more at the top of imgui.cpp
15
16 #pragma once
17 #include "imgui.h" // IMGUI_IMPL_API
18 #ifndef IMGUI_DISABLE
19
20 struct ID3D10Device;
21
22 // Follow "Getting Started" link and check examples/ folder to learn about using backends!
23 IMGUI_IMPL_API bool ImGui_ImplDX10_Init(ID3D10Device* device);
24 IMGUI_IMPL_API void ImGui_ImplDX10_Shutdown();
25 IMGUI_IMPL_API void ImGui_ImplDX10_NewFrame();
26 IMGUI_IMPL_API void ImGui_ImplDX10_RenderDrawData(ImDrawData* draw_data);
27
28 // Use if you want to reset your rendering device without losing Dear ImGui state.
29 IMGUI_IMPL_API bool ImGui_ImplDX10_CreateDeviceObjects();
30 IMGUI_IMPL_API void ImGui_ImplDX10_InvalidateDeviceObjects();
31
32 #endif // #ifndef IMGUI_DISABLE