Kiwano Engine v1.3.x
imgui_impl_dx11.h
1// dear imgui: Renderer for Kiwano (DirectX11)
2
3#pragma once
4#include <imgui/imgui.h>
5
6#ifndef KGE_DOXYGEN_DO_NOT_INCLUDE
7#ifndef IMGUI_DISABLE
8
9struct ID3D11Device;
10struct ID3D11DeviceContext;
11
12IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context);
13IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown();
14IMGUI_IMPL_API void ImGui_ImplDX11_NewFrame();
15IMGUI_IMPL_API void ImGui_ImplDX11_RenderDrawData(ImDrawData* draw_data);
16
17// Use if you want to reset your rendering device without losing Dear ImGui state.
18IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects();
19IMGUI_IMPL_API bool ImGui_ImplDX11_CreateDeviceObjects();
20
21#endif // #ifndef IMGUI_DISABLE
22#endif