2019-04-14 23:29:17 +08:00
|
|
|
// dear imgui: Renderer for Kiwano (DirectX10)
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2019-10-11 21:12:29 +08:00
|
|
|
#include <3rd-party/imgui/imgui.h>
|
2019-04-14 23:29:17 +08:00
|
|
|
|
2019-12-31 10:37:29 +08:00
|
|
|
#ifndef KGE_DOXYGEN_DO_NOT_INCLUDE
|
|
|
|
|
|
2019-04-14 23:29:17 +08:00
|
|
|
struct ID3D10Device;
|
|
|
|
|
|
|
|
|
|
IMGUI_IMPL_API bool ImGui_ImplDX10_Init(ID3D10Device* device);
|
|
|
|
|
IMGUI_IMPL_API void ImGui_ImplDX10_Shutdown();
|
|
|
|
|
IMGUI_IMPL_API void ImGui_ImplDX10_NewFrame();
|
|
|
|
|
IMGUI_IMPL_API void ImGui_ImplDX10_RenderDrawData(ImDrawData* draw_data);
|
|
|
|
|
|
|
|
|
|
// Use if you want to reset your rendering device without losing ImGui state.
|
|
|
|
|
IMGUI_IMPL_API void ImGui_ImplDX10_InvalidateDeviceObjects();
|
|
|
|
|
IMGUI_IMPL_API bool ImGui_ImplDX10_CreateDeviceObjects();
|
2019-12-31 10:37:29 +08:00
|
|
|
|
|
|
|
|
#endif
|