imgui

FORK: Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
git clone https://git.neptards.moe/neptards/imgui.git
Log | Files | Refs

imgui_impl_dx9.h (1162B)


      1 // dear imgui: Renderer Backend for DirectX9
      2 // This needs to be used along with a Platform Backend (e.g. Win32)
      3 
      4 // Implemented features:
      5 //  [X] Renderer: User texture binding. Use 'LPDIRECT3DTEXTURE9' as ImTextureID. Read the FAQ about ImTextureID!
      6 //  [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices.
      7 
      8 // You can copy and use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
      9 // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
     10 // Read online: https://github.com/ocornut/imgui/tree/master/docs
     11 
     12 #pragma once
     13 #include "imgui.h"      // IMGUI_IMPL_API
     14 
     15 struct IDirect3DDevice9;
     16 
     17 IMGUI_IMPL_API bool     ImGui_ImplDX9_Init(IDirect3DDevice9* device);
     18 IMGUI_IMPL_API void     ImGui_ImplDX9_Shutdown();
     19 IMGUI_IMPL_API void     ImGui_ImplDX9_NewFrame();
     20 IMGUI_IMPL_API void     ImGui_ImplDX9_RenderDrawData(ImDrawData* draw_data);
     21 
     22 // Use if you want to reset your rendering device without losing Dear ImGui state.
     23 IMGUI_IMPL_API bool     ImGui_ImplDX9_CreateDeviceObjects();
     24 IMGUI_IMPL_API void     ImGui_ImplDX9_InvalidateDeviceObjects();