dependencies
third-party
imgui
src
examples
imgui_impl_dx11.h
Go to the documentation of this file.
1
// dear imgui: Renderer for DirectX11
2
// This needs to be used along with a Platform Binding (e.g. Win32)
3
4
// Implemented features:
5
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6
// [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices.
7
8
// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this.
9
// If you are new to dear imgui, read examples/README.txt and read the documentation at the top of imgui.cpp.
10
// https://github.com/ocornut/imgui
11
12
#pragma once
13
14
struct
ID3D11Device;
15
struct
ID3D11DeviceContext;
16
17
IMGUI_IMPL_API
bool
ImGui_ImplDX11_Init
(ID3D11Device* device, ID3D11DeviceContext* device_context);
18
IMGUI_IMPL_API
void
ImGui_ImplDX11_Shutdown
();
19
IMGUI_IMPL_API
void
ImGui_ImplDX11_NewFrame
();
20
IMGUI_IMPL_API
void
ImGui_ImplDX11_RenderDrawData
(
ImDrawData
* draw_data);
21
22
// Use if you want to reset your rendering device without losing ImGui state.
23
IMGUI_IMPL_API
void
ImGui_ImplDX11_InvalidateDeviceObjects
();
24
IMGUI_IMPL_API
bool
ImGui_ImplDX11_CreateDeviceObjects
();
ImGui_ImplDX11_Init
IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device *device, ID3D11DeviceContext *device_context)
Definition:
imgui_impl_dx11.cpp:504
ImGui_ImplDX11_Shutdown
IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown()
Definition:
imgui_impl_dx11.cpp:532
ImDrawData
Definition:
imgui.h:2068
IMGUI_IMPL_API
#define IMGUI_IMPL_API
Definition:
imgui.h:73
ImGui_ImplDX11_NewFrame
IMGUI_IMPL_API void ImGui_ImplDX11_NewFrame()
Definition:
imgui_impl_dx11.cpp:540
ImGui_ImplDX11_RenderDrawData
IMGUI_IMPL_API void ImGui_ImplDX11_RenderDrawData(ImDrawData *draw_data)
Definition:
imgui_impl_dx11.cpp:100
ImGui_ImplDX11_InvalidateDeviceObjects
IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects()
Definition:
imgui_impl_dx11.cpp:483
ImGui_ImplDX11_CreateDeviceObjects
IMGUI_IMPL_API bool ImGui_ImplDX11_CreateDeviceObjects()
Definition:
imgui_impl_dx11.cpp:341
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:54