Duckstation/src/frontend-common/imgui_impl_dx12.h

15 lines
520 B
C
Raw Normal View History

2021-07-10 11:37:08 +00:00
// dear imgui: Renderer Backend for DirectX12
// This needs to be used along with a Platform Backend (e.g. Win32)
#pragma once
2022-07-08 13:06:09 +00:00
#include "imgui.h" // IMGUI_IMPL_API
2021-07-10 11:37:08 +00:00
2022-07-08 13:06:09 +00:00
bool ImGui_ImplDX12_Init(DXGI_FORMAT rtv_format);
void ImGui_ImplDX12_Shutdown();
void ImGui_ImplDX12_RenderDrawData(ImDrawData* draw_data);
2021-07-10 11:37:08 +00:00
// Use if you want to reset your rendering device without losing Dear ImGui state.
2022-07-08 13:06:09 +00:00
void ImGui_ImplDX12_DestroyDeviceObjects();
bool ImGui_ImplDX12_CreateDeviceObjects();
bool ImGui_ImplDX12_CreateFontsTexture();