Magic_Game/src/kiwano-imgui/imgui_impl_dx11.h

21 lines
682 B
C
Raw Normal View History

2019-04-11 14:40:54 +08:00
// dear imgui: Renderer for Kiwano (DirectX11)
#pragma once
2019-10-11 21:12:29 +08:00
#include <3rd-party/imgui/imgui.h>
2019-12-31 10:37:29 +08:00
#ifndef KGE_DOXYGEN_DO_NOT_INCLUDE
struct ID3D11Device;
struct ID3D11DeviceContext;
IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context);
IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown();
IMGUI_IMPL_API void ImGui_ImplDX11_NewFrame();
IMGUI_IMPL_API void ImGui_ImplDX11_RenderDrawData(ImDrawData* draw_data);
// Use if you want to reset your rendering device without losing ImGui state.
IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects();
IMGUI_IMPL_API bool ImGui_ImplDX11_CreateDeviceObjects();
2019-12-31 10:37:29 +08:00
#endif