Magic_Game/src/kiwano-imgui/imgui_impl_dx10.h

16 lines
573 B
C
Raw Normal View History

// dear imgui: Renderer for Kiwano (DirectX10)
#pragma once
2019-10-11 21:12:29 +08:00
#include <3rd-party/imgui/imgui.h>
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();