Duckstation/src/frontend-common/imgui_impl_dx11.h

18 lines
613 B
C
Raw Normal View History

2022-07-08 13:06:09 +00:00
// dear imgui: Renderer Backend for DirectX11
// This needs to be used along with a Platform Backend (e.g. Win32)
2019-09-09 07:01:26 +00:00
#pragma once
2022-07-08 13:06:09 +00:00
#include "imgui.h" // IMGUI_IMPL_API
2019-09-09 07:01:26 +00:00
struct ID3D11Device;
struct ID3D11DeviceContext;
2022-07-08 13:06:09 +00:00
bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context);
void ImGui_ImplDX11_Shutdown();
void ImGui_ImplDX11_RenderDrawData(ImDrawData* draw_data);
2019-09-09 07:01:26 +00:00
2022-07-08 13:06:09 +00:00
// Use if you want to reset your rendering device without losing Dear ImGui state.
void ImGui_ImplDX11_InvalidateDeviceObjects();
bool ImGui_ImplDX11_CreateDeviceObjects();
2022-09-26 12:11:36 +00:00
bool ImGui_ImplDX11_CreateFontsTexture();