Examples: DirectX9 example application handle window resizing.

This commit is contained in:
ocornut
2015-03-09 14:13:29 +00:00
parent 25765e4bfc
commit 866fa95aaa
4 changed files with 76 additions and 41 deletions

View File

@@ -8,6 +8,10 @@ void ImGui_ImplDX9_InitFontsTexture();
void ImGui_ImplDX9_Shutdown();
void ImGui_ImplDX9_NewFrame();
// Use if you want to reset your rendering device without losing ImGui state.
void ImGui_ImplDX9_InvalidateDeviceObjects();
void ImGui_ImplDX9_CreateDeviceObjects();
// Handler for Win32 messages, update mouse/keyboard data.
// You may or not need this for your implementation, but it can serve as reference for handling inputs.
// Commented out to avoid dragging dependencies on <windows.h> types. You can copy the extern declaration in your code.