imgui_impl_dx9.h 858 B

1234567891011121314151617181920
  1. // ImGui Win32 + DirectX9 binding
  2. // https://github.com/ocornut/imgui
  3. struct IDirect3DDevice9;
  4. bool ImGui_ImplDX9_Init(void* hwnd, IDirect3DDevice9* device);
  5. void ImGui_ImplDX9_InitFontsTexture();
  6. void ImGui_ImplDX9_Shutdown();
  7. void ImGui_ImplDX9_NewFrame();
  8. // Use if you want to reset your rendering device without losing ImGui state.
  9. void ImGui_ImplDX9_InvalidateDeviceObjects();
  10. void ImGui_ImplDX9_CreateDeviceObjects();
  11. // Handler for Win32 messages, update mouse/keyboard data.
  12. // You may or not need this for your implementation, but it can serve as reference for handling inputs.
  13. // Commented out to avoid dragging dependencies on <windows.h> types. You can copy the extern declaration in your code.
  14. /*
  15. extern LRESULT ImGui_ImplDX9_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
  16. */